Upgrade 1.3.1 to 1.5.6 Upgrade 1.3.1 to 1.5.6
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Upgrade 1.3.1 to 1.5.6

Started by cyberdyne2, July 25, 2010, 04:22:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cyberdyne2

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:

QuoteWhile 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.
v.1.5.22

cyberdyne2

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.
v.1.5.22

phill104

Yes, it is not possible to upgrade directly from 1.3.x to 1.5.x. You have to go via 1.4.x.
It is a mistake to think you can solve any major problems just with potatoes.

cyberdyne2

v.1.5.22