Page 1 of 1

Upgrade Error

Posted: Tue Apr 19, 2005 1:36 am
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

Re: Upgrade Error

Posted: Tue Apr 19, 2005 9:28 am
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