Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Upgrade 1.3.1 to 1.5.6  (Read 4660 times)

0 Members and 1 Guest are viewing this topic.

cyberdyne2

  • Coppermine regular visitor
  • **
  • Country: gb
  • Offline Offline
  • Posts: 75
Upgrade 1.3.1 to 1.5.6
« 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.
Logged
v.1.5.22

cyberdyne2

  • Coppermine regular visitor
  • **
  • Country: gb
  • Offline Offline
  • Posts: 75
Re: Upgrade 1.3.1 to 1.5.6
« Reply #1 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.
Logged
v.1.5.22

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4886
    • Windsurf.me
Re: Upgrade 1.3.1 to 1.5.6
« Reply #2 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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

cyberdyne2

  • Coppermine regular visitor
  • **
  • Country: gb
  • Offline Offline
  • Posts: 75
Re: Upgrade 1.3.1 to 1.5.6
« Reply #3 on: July 25, 2010, 04:40:21 pm »

OK, thanks Phill
Logged
v.1.5.22
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.