Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: nathan89 - helmikuu 06, 2009, 06:59:54 IP

Otsikko: Mod install table error
Kirjoitti: nathan89 - helmikuu 06, 2009, 06:59:54 IP
When installing several packages in RC1 i get an error:

Database Error
Table 'nathan_crohnssociety3.treas_config' doesn't exist
File: /home/nathan/crohnssociety/Packages/temp/install.php
Line: 27

Those tables do exist because on my beta 4 install I had them installed, how ever the above error says it the table "treas_config" doesnt exist instead of "smf_treas_config".  Why would this mod all of a sudden be looking for the table with out the smf_ prefix?  I have several other mods that are doing the exact thing.  If I add the tables without the SMF_ prefix the mod installs and works fine. 

Even if the tables didnt exist why arent they being created?

Otsikko: Re: Mod install table error
Kirjoitti: Kermit - helmikuu 06, 2009, 07:02:47 IP
This is already a known bug in RC1

Bug #2963: 'update', 'overwrite', and 'update_remove'  option for 'if_exists' on db_create_table function fails (http://dev.simplemachines.org/mantis/view.php?id=2963)
Otsikko: Re: Mod install table error
Kirjoitti: nathan89 - helmikuu 06, 2009, 07:09:54 IP
What would be the best way to install the mod while keeping the current tables intact?
Otsikko: Re: Mod install table error
Kirjoitti: Kermit - helmikuu 06, 2009, 07:11:27 IP
Lainaus käyttäjältä: nathan89 - helmikuu 06, 2009, 07:09:54 IP
What would be the best way to install the mod while keeping the current tables intact?

I assume the best solution would be, asking the mod author for help
Otsikko: Re: Mod install table error
Kirjoitti: eclipsenow - helmikuu 06, 2009, 09:27:49 IP
I'm so tempted to just stay "vanilla" for all time.  8)

SMF seems very, very powerful anyway.