coppermine-gallery.com/forum

Support => cpg1.6.x Support => cpg1.6 install => Topic started by: zeppo on February 13, 2026, 08:15:56 AM

Title: Update from cpg 1.5.48 –> 1.6.26 stops at the step 4
Post by: zeppo on February 13, 2026, 08:15:56 AM
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?


Title: Re: Update from cpg 1.5.48 –> 1.6.26 stops at the step 4
Post by: zeppo on February 13, 2026, 08:22:50 AM
Error code: "500 Internal Server Error"
Title: Re: Update from cpg 1.5.48 –> 1.6.26 stops at the step 4
Post by: 406man on February 14, 2026, 09:56:21 AM
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.
Title: Re: Update from cpg 1.5.48 –> 1.6.26 stops at the step 4
Post by: zeppo on February 14, 2026, 02:36:57 PM
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.
Title: Re: Update from cpg 1.5.48 –> 1.6.26 stops at the step 4
Post by: Joe Carver on February 14, 2026, 04:03:09 PM
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)




Title: Re: Update from cpg 1.5.48 –> 1.6.26 stops at the step 4
Post by: zeppo on February 14, 2026, 04:32:24 PM
Thanks Joe!

This is interesting.

I'll check the list.

Title: Re: Update from cpg 1.5.48 –> 1.6.26 stops at the step 4
Post by: zeppo on February 14, 2026, 07:36:05 PM
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?
Title: Re: Update from cpg 1.5.48 –> 1.6.26 stops at the step 4
Post by: Joe Carver on February 15, 2026, 05:41:14 PM
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)
Title: Re: Update from cpg 1.5.48 –> 1.6.26 stops at the step 4
Post by: ron4mac on February 15, 2026, 10:53:24 PM
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
Title: Re: Update from cpg 1.5.48 –> 1.6.26 stops at the step 4
Post by: zeppo on April 06, 2026, 12:37:47 PM
Thanks for replies!