Update from cpg 1.5.48 –> 1.6.26 stops at the step 4 Update from cpg 1.5.48 –> 1.6.26 stops at the step 4
 

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

Update from cpg 1.5.48 –> 1.6.26 stops at the step 4

Started by zeppo, February 13, 2026, 08:15:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

zeppo

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?



zeppo


406man

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.

zeppo

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.

Joe Carver

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





zeppo

Thanks Joe!

This is interesting.

I'll check the list.


zeppo

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?

Joe Carver

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)

ron4mac

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