forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upgrading => Topic started by: cyberdyne2 on July 25, 2010, 04:22:35 pm

Title: Upgrade 1.3.1 to 1.5.6
Post by: cyberdyne2 on July 25, 2010, 04:22:35 pm
I attempted an ugrade from v1.3.1 to v1.5.6 by following the upgrade instructions in docs.
The initial result was 'Fatal Error'.
I then replaced the new version with my backup and the gallery is back to its' original working state.

I've now created a separate folder to install the new version in to and have uploaded my 'albums' folder, 'config.php' and 'anycontent.php' files, but still receive a 'Fatal error'. I have now enabled debugging mode via MyPHPAdmin and the following error has displayed:

Quote
While executing query 'DELETE FROM `my_db`.cpg_sessions WHERE time < 1280063743 AND remember = 0' in bridge/coppermine.inc.php on line 248

mySQL error: Table 'my_db.cpg_sessions' doesn't exist

I have checked the database via MyPHPAdmin and confirmed that 'my_db.cpg_session' does not exist.

I presume I need to create 'cpg_sessions' and possibly 'repair table' but am unsure how to go about this.

http://www.londonallstars.co.uk/cmine2/
Any help apprecited.
Thank you.
Title: Re: Upgrade 1.3.1 to 1.5.6
Post by: cyberdyne2 on July 25, 2010, 04:30:56 pm
Ive just read elsewhere that I should upgrade to v1.4.x first, then after checking everything is working, upgrade v1.4.x to v1.5.x

Presumably, v1.4.x will create the tables which do not exist ?

Can anyone confirm this please?
Thank you.
Title: Re: Upgrade 1.3.1 to 1.5.6
Post by: phill104 on July 25, 2010, 04:38:57 pm
Yes, it is not possible to upgrade directly from 1.3.x to 1.5.x. You have to go via 1.4.x.
Title: Re: Upgrade 1.3.1 to 1.5.6
Post by: cyberdyne2 on July 25, 2010, 04:40:21 pm
OK, thanks Phill