CPG 1.6 (PHP7) Upgrade/Install Aid - Page 2 CPG 1.6 (PHP7) Upgrade/Install Aid - Page 2
 

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

CPG 1.6 (PHP7) Upgrade/Install Aid

Started by ron4mac, March 31, 2017, 10:34:08 PM

Previous topic - Next topic

0 Members and 11 Guests are viewing this topic.

ron4mac

You may not have run update.php (it should have run automatically)

anglefire

I'm at that point now - and the admin account I use on the old version (I've just checked on the old server) doesn't work - its asking for authentication but the user I have for admin (Not the one in the image here) isn't working.

Mark
Disco3Club Admin

ron4mac

Part of the issue with trying this with a version < 1.5.32.

You'll have to mess with that database in this way:
http://forum.coppermine-gallery.net/index.php/topic,79099.msg383519.html#msg383519

anglefire

Thanks again,


Finally sorted it - though do i Have to unbridge it to be able to change the admin password?
Mark
Disco3Club Admin

ron4mac

Quote from: anglefire on March 11, 2018, 07:09:54 PM
Finally sorted it - though do i Have to unbridge it to be able to change the admin password?

Yes.

anglefire

Thanks - I actually read something after I posted this and it is sorted

Have a tipple of something on me :)
Mark
Disco3Club Admin

FrA1l3

thank you for this script. It saves me a lot of time  ;) :)

desidia

heyho!

is there any way to update from coppermine Version 1.1 with this Upgrade?
My Hoster has also did an update to PHP 7.2 and doesn't support my running CM version 1.1... :-\

Thanks! :)


desidia

Quote from: desidia on November 13, 2018, 04:07:47 PM
heyho!

is there any way to update from coppermine Version 1.1 with this Upgrade?
My Hoster has also did an update to PHP 7.2 and doesn't support my running CM version 1.1... :-\

Thanks! :)

where's the edit Button? :-\

I've looked twice, and I've the coppermine Version 1.4.25 !
could I Update to Version 1.6.x without problems? :)

ron4mac

Quote from: desidia on November 13, 2018, 04:13:51 PM
I've looked twice, and I've the coppermine Version 1.4.25 !
could I Update to Version 1.6.x without problems? :)
You will need to be on CPG 1.5.x first.
http://documentation.coppermine-gallery.net/en/upgrading.htm#upgrade_14

desidia

thanks for the link! I've readed a little bit, but I didn't found a quick answer: Does 1.5.x support PHP 7 too?
Because my Hoster doesn't support any PHP <7...

So I can't upgrade to CM 1.5 if it doesn't work onto PHP7... :-\ (no execution of PHP5 Scripts)

ron4mac

Quote from: desidia on November 13, 2018, 04:27:37 PM
Does 1.5.x support PHP 7 too?
No.

You could ask your hoster to make PHP 5 available to you for a while. They should be able to do that.

If not, you will have to do a new install and try to recover your images as best you can.

desidia

I've talked to my Hoster. They couldn't setup for me a version <PHP7.

Now I've got a second Idea. I'll upload all content to my test webspace (xampp on my own device) which works with PHP5.
I'll export the SQL-Database from webspace, but I don't know the password... I can reset this password to a new value -> download the SQL-Database via phpmyadmin and import them to my test webspace into a new database.

but the problem is: how could I  change the password into the testsetup to the new one? the frontend has the old password and couldn't connect to database with new password...
How could I fix this?
If this works, I could Update to 1.5.x and than to 1.6.x and after that I could export Database (and data) to normal webspace and it should work...?

But another problem seems to be here; I've customized the frontend to my needed options. I lost this with upgrade? :-\

desidia

ah, I'm a dump idiot!

I'll see all infos at /include/config.inc.php


ΑndrĂ©

Quote from: desidia on November 13, 2018, 04:07:47 PM
heyho!

is there any way to update from coppermine Version 1.1 with this Upgrade?
My Hoster has also did an update to PHP 7.2 and doesn't support my running CM version 1.1... :-\

Thanks! :)

Double post: http://forum.coppermine-gallery.net/index.php/topic,79533.0.html >:(

VLK

Hi,

After update my gallery ( http://www.valonkuvaaja.com/kuvagalleria/ ) is blank when I use php 7.2, php 5.6 gallery works fine. Where is problem?

ron4mac

Quote from: VLK on January 22, 2019, 12:34:10 PM
After update my gallery is blank when I use php 7.2, php 5.6 gallery works fine. Where is problem?

You are using a plugin that is incompatible with CPG 1.6.x. In your plugins folder, rename all the folders that don't start with upload_ to something like X_<current-name>. Unless there is also an incompatibility with the theme you are using, that should allow you to see your gallery. Login and make sure to run <your-gallery-url>/update.php. Then you can rename one plugin at a time back to normal to see which ones are causing any problems.

VLK

Quote from: ron4mac on January 22, 2019, 04:51:28 PM
You are using a plugin that is incompatible with CPG 1.6.x. In your plugins folder, rename all the folders that don't start with upload_ to something like X_<current-name>. Unless there is also an incompatibility with the theme you are using, that should allow you to see your gallery. Login and make sure to run <your-gallery-url>/update.php. Then you can rename one plugin at a time back to normal to see which ones are causing any problems.

Thanks for help :D, final_extract plugin cause that problem.

VLK

When I'am login everything works fine, but when I'am not random and album pics not open.

For example

http://www.valonkuvaaja.com/kuvagalleria/thumbnails.php?album=28


ron4mac

#39
Quote from: VLK on January 22, 2019, 06:41:38 PM
When I'am login everything works fine, but when I'am not random and album pics not open.

It is being caused by your theme.
http://www.valonkuvaaja.com/kuvagalleria/thumbnails.php?album=28&theme=curve

Look in your theme.php file and change any mysql_xxx_xxx to cpg_db_xxx_xxx.