Hello Friends,
I try to update my site to work with PHP 8.1, and tried to update cpg 1.5.48 –> 1.6.26, but the istallation stops at the step 4:
___________________________________
"$install_config = array(
'lang' => 'finnish',
'steps_done' => array(
'0' => '1',
'1' => '2',
'2' => '3',
'3' => '4',
),
'step' => '4',
'javascript_test_passed' => '1',
);
___________________________________
What could be the problem?
Error code: "500 Internal Server Error"
Did you upgrade PHP to 8.1 before running the upgrade procedure ? If you were still on PHP 5 I'm unclear what would cause this problem. Could you post a screenshot of exactly what happened including the error message.
Thanks 406man,
This is a new test site. My online site is running the old version & php.
This test site has PHP 8.1, and i loaded the ols site there, and manually updated the Coppermine.
Both Finnish & English site stop at the same sop of the update.
The error message is not in Englsih, so there's traslated version:
___________________________________
There seems to be a problem with this site
The website
/install.php?step=4
may have a temporary problem or it may have moved.
Error code: 500 Internal Server Error
The site may be temporarily unavailable or under heavy load. Please try again in a while.
Have you tried updating and/or changing your language file(s), etc. as instructed here in the documentation?
Upgrading from cpg1.5.x to version cpg1.6.x (https://coppermine-gallery.com/docs/curr/en/upgrading.htm#upgrade_14)
Thanks Joe!
This is interesting.
I'll check the list.
Thanks 406man & Joe!
Now both language versiona work.
I updated language files & theme php. And then run the update.php
Now both are working. Still some tuning needed.
Is there a wotking Finnish language file in 1.6?
You can edit/update the older language files by following the instruction in this post from ron4mac here:
Upgrading to CPG 1.6.18 (or later) (https://coppermine-gallery.com/forum/index.php/topic,80524.0.html)
Upgrading to CPG 1.6.x from 1.5.48: It would seem, since you refer to step 4, you are trying to perform an install, not an upgrade. Easiest method to upgrade 1.5.48 to 1.6.x can be found here: https://coppermine-gallery.com/forum/index.php/topic,79013.0.html. Copy your old site to the new one along with the database. Make any needed changes to the include/config.inc.php to reflect any new database name or credentials. Then run the cpg_installer_stub to perform the update for you.
If your new server is fully controlled by you, you need to make sure that a number of required PHP modules have been installed.
Language files: Once upgraded, you can use a language utility script to help identify where updates are needed for the Finnish language. Access ... <your 1.6.x site>/lang_check.php
HTH
Thanks for replies!