How to Upgrade from 1.4.21 to 1.6.3 How to Upgrade from 1.4.21 to 1.6.3
 

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

Main Menu

How to Upgrade from 1.4.21 to 1.6.3

Started by bibendum, September 23, 2021, 07:14:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bibendum

Hi
I would like to upgrade my coppermine gallery.
I just need to tranfert all files from archive to my server directory ?
What will happen with all my albums from members in the directory ?
What files must i keep ?
It will update SQL automaticly ?
My gallery was running with php 4.4 server, now the php server is at 7.2 version
Thanks for your help
Laurent



phill104

You have a bit of a challenge on your hands.

First you need to take a backup of both your sql database and your gallery files. That should be the easy part.

You then have to update in steps from your current version  via 5.x to the latest version. That is where the challenge begins as you are now on a late version of PHP. So somehow you need to be able to run an earlier version to do the upgrade. That can be done locally using WAMP or similar, working on your backup rather than your live data to do so. If you are totally struggling to do this then I will see if I can help.
It is a mistake to think you can solve any major problems just with potatoes.

bibendum

Hi
I can change the PHP versions on my server.
You mean i must put php ver 5.x and update to 1.6.3 ?
i can update copermine 1.4.21 to 1.6.3 directly or must i use differente version before ?
Thanks


phill104

It is a mistake to think you can solve any major problems just with potatoes.

bibendum

Hi
So at the first 1.4.x to 1.5.x than 1.5 to 1.6. ?
For PhP, wich version must i use for the first update and for the second ?
Thanks

bibendum

Hi

I've tried 1.4.21 to 1.5.x, the installer don't want to use my old sql database, so how can i get my old data from sql database ???

Thanks


bibendum

The update.php ?
Yes i've done it.
I'd needed to put php in 5.5 to execute the script
Now i've this error message : Coppermine critical error:
The group table does not contain the Anonymous group !
So


ron4mac

Is the gallery on your own server or in a hosting account?

If you will send me a private message (PM) with the information and credentials I would need to access your gallery server, I will try to help you upgrade to the latest CPG (1.6.13).

bibendum