Upgrade Error

Having trouble installing serendipity?
Post Reply
DortoH
Regular
Posts: 82
Joined: Fri Feb 25, 2005 2:00 am

Upgrade Error

Post by DortoH »

I attempted to upgrade my 0.7.1 install to 0.8 over the weekend and got some strange results. After taking a full backup of the files and the database (thankfully :) ) I uploaded the 0.8 final files, selecting overwrite all.

Logged on to the admin page and the first error was that templates_c was not writeable, well there was no such directory so I created one and chmod 777 on it, all good, next!

After clicking yes to the upgrade, i waited until it said it was all OK, but nothing worked. See a screenshot of the results of the upgrade here.

http://thelazyadmin.com/images/08error.jpg

Any idea what may have happened?

Rod
Rod
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Upgrade Error

Post by garvinhicking »

It seems that all your database upgrade queries were not executed.

When upgrading, did you get a page saying, "the following sql files will be executed"?

Are you using MySQL?

Try to edit your serendipity_config_local.inc.php fiel and set versionInstalled to 0.7.1 again (or restore your backup), and then use the upgrade panel again and look out for the SQL files.

Those contain statements to upgrade your database structure with this new 'realname' column. Your MySQL user also needs to have ALTER TABLE privileges.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply