News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Bugfix request in upgrade_1-1.sql (SMF 1.1 RC2)

Started by guitou, April 09, 2006, 10:30:47 AM

Previous topic - Next topic

guitou

Hello everybody

I got the following error while upgrading from YABBSE 1.5.5 to SMF 1.1 RC2 :

(...)
Installing new default theme...
    Installing theme settings...
Fatal error: Call to undefined function: db_query() in c:\program files\easyphp1-8\www\v2\forum\upgrade.php(1139) : eval()'d code on line 77


I found a call to db_query() instead of upgrade_query() in upgrade_1-1.sql, line 327.

After fixing that, it worked fine for me.

Please note that even without correcting it, launching upgrade.php a second time doesn't display the error but I think the variable knownThemes of table _settings would not be correct.
So it is safer to restore all yabbse tables and files before retrying to upgrade with the fix.


I hope this will help.


Best regards
guitou (France)

Advertisement: