Failed upgrade to 2.1.8
Hey guys, I'm sorry to say but my upgrade failed. I get this message:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'alter table `GDN_UserPoints` add primary key (`SlotType`, `TimeSlot`, `Source`, ' at line 4|Gdn_Database|Query|/* 'primary key (`SlotType`, `TimeSlot`, `Source`, `CategoryID`, `UserID`)' => 'primary key (`SlotType`, `TimeSlot`, `Source`, `UserID`)' */ alter table `GDN_UserPoints` drop primary key; alter table `GDN_UserPoints` add primary key (`SlotType`, `TimeSlot`, `Source`, `UserID`);
I also noticed I got redirected to the 'installer' page after going to the 'upgrade' url. When I fill out my db and forum details on the page, it gives this message. Does anyone know what's going on?
0          
            
        
            
Comments
Do you have a
GDN_UserPointstable in your database?Going to the installer page indicates your config file is missing. Did you back it up before upgrading? It's possible your FTP program, when copying the
conffolder, erased theconf.phpfile inside and you need to restore it.I have that table in my database.
When I tried restoring the conf.php file, the forum said there was an error (the big smiley appeared).
Follow this guide: http://docs.vanillaforums.com/developers/troubleshooting/
Report back with the error.
Thanks for the help. This is what it says:
@Todd suggests running this database query manually (like in phpMyAdmin):
alter table GDN_UserPoints drop primary keyand then attempting the update again.Try using 2.1.8p2: http://vanillaforums.org/addon/vanilla-core-2.1.8p2
I managed to do the upgrade after a few tries. Thanks.