News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

Recent posts

#71
cpg1.6 themes (visuals) / Re: How to hide album stats in...
Last post by 406man - March 06, 2026, 02:29:56 PM
I've wondered the same thing myself so thought I'd take a look.

There's no way of suppressing the display of the album information using settings in the gallery configuration. Display of the text itself can be prevented by adding some PHP code to your theme.php file. If you don't already have function theme_album_info in your theme, add the following code:

// Below added by 406man 6 March 2026 to suppress information display beside album thumbnail
/******************************************************************************
** Section <<<theme_album_info>>> - START
******************************************************************************/
// Format information which is displayed next to each album
function theme_album_info($pic_count, $link_pic_count, $last_upload_date)
{
    $album_info = '';
    return $album_info;
}
/******************************************************************************
** Section <<<theme_album_info>>> - END
******************************************************************************/

If you already use function theme_album_info it's going to need to be modified to return an empty string.

The text no longer appears but the table column is still there.

You may want to make further modifications to the layout as the album thumbnails and text are all left justified which looks odd when the album statistics are no longer displayed. But anyway, hope you find this useful.
#72
cpg1.6 themes (visuals) / How to hide album stats in the...
Last post by zeppo - March 05, 2026, 07:14:29 PM
Hi Friends,

I updated to 1.6 version.

All is mostly fine, but in album view theme shows album statistics, and breaks the theme.
I couldn't find a way to hide statistics form viewers.

#73
cpg1.6 install / Re: Update from cpg 1.5.48 –> ...
Last post by ron4mac - 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
#74
cpg1.6 install / Re: Update from cpg 1.5.48 –> ...
Last post by Joe Carver - 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)
#75
cpg1.6 install / Re: Update from cpg 1.5.48 –> ...
Last post by zeppo - 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?
#76
cpg1.6 install / Re: Update from cpg 1.5.48 –> ...
Last post by zeppo - February 14, 2026, 04:32:24 PM
Thanks Joe!

This is interesting.

I'll check the list.

#77
cpg1.6 install / Re: Update from cpg 1.5.48 –> ...
Last post by Joe Carver - 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




#78
cpg1.6 install / Re: Update from cpg 1.5.48 –> ...
Last post by zeppo - 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.
#79
cpg1.6 install / Re: Update from cpg 1.5.48 –> ...
Last post by 406man - 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.
#80
cpg1.6 install / Re: Update from cpg 1.5.48 –> ...
Last post by zeppo - February 13, 2026, 08:22:50 AM
Error code: "500 Internal Server Error"