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

#1
cpg1.6 upgrading / Re: Upgrading and no docs page
Last post by typomaniac - August 31, 2026, 02:58:06 AM
Hi, no worries...the gallery is alive and working. There was an error in the config page that escaped my eye.
Would like to thank everybody here for help I've had in the past and for providing such a great gallery.
The Best To All,
Dave
#2
cpg1.6 upgrading / Upgrading and no docs page
Last post by typomaniac - August 31, 2026, 02:18:07 AM
Hi, I just downloaded version 1.6.29 for the purpose of upgrading from version cpg 1.6.x-1.6.27 and after reading the Readme page it says to read the documentation I would find in a folder name Docs. I extracted all the files from the zip and no such folder exists.
The reason for the upgrade is my server host requires PHP Version 8.4 (lower versions no longer supported).
I'm kind of up in the air as to how to go about this upgrade. I still have the docs folder from the cpg 1.6.x-1.6.27 version in case they're the same. I just don't want to make any moves that will mess things up. I did the backup of all the files and also the database.
I'm still getting an error message concerning connecting to the database though. It reads:
Coppermine critical error:
Unable to connect to database !

MySQLi said: 1045 : Access denied for user 'photoman'@'sitea-web525.eigbox.net' (using password: YES)

I copied all the information for the config sheet straight from the database management page. I'm going to call the server host about the connection issue but really concerned about the upgrade and if info in Docs folder (which I don't see) is any different. I've been using this gallery since 2011 and hate for anything to happen to it.
Thank you,
Dave
#3
cpg1.6 miscellaneous / Re: Can't Access My Gallery
Last post by ron4mac - August 30, 2026, 02:42:19 AM
Your host may have made some changes. You might try changing your configured database server to just 'localhost' (record the current value somewhere before changing it).
In the file include->config.inc.php, make this change:
$CONFIG['dbserver'] = 'localhost';.
#4
cpg1.6 miscellaneous / Re: Can't Access My Gallery
Last post by 406man - August 29, 2026, 07:24:37 PM
The CPG release notes are here:
https://github.com/coppermine-gallery/cpg1.6.x/releases

Versions 1.6.26 to .28 had various fixes added for PHP 8.4 so I would expect 1.6.29 to work correctly. If you use an unusual theme or plugins there is the possibility of incompatibilities with PHP 8.4.
#5
cpg1.6 miscellaneous / Re: Can't Access My Gallery
Last post by typomaniac - August 29, 2026, 02:11:04 PM
If I upgrade to 1.6.29 and upgrade php to 8.4 this should work?
#6
cpg1.6 miscellaneous / Re: Can't Access My Gallery
Last post by 406man - August 29, 2026, 11:45:17 AM
This appears to be a problem relating to your web host rather than the Coppermine software.

The host is saying that they won't support old versions of PHP - which is a little extreme in my opinion. Plenty of hosts out there will allow the running of older versions of PHP without stopping a web site from working. There are, of course, security risks from running older versions of software in general but I'm not aware of any PHP bugs affecting Coppermine specifically. If you stay with this web host you'll need to:
- Back up your site
- Upgrade the PHP software using the relevant feature of your hosting control panel
- Upgrade the Coppermine software to the latest version 1.6.29
#7
cpg1.6 miscellaneous / Can't Access My Gallery
Last post by typomaniac - August 29, 2026, 01:11:17 AM
Hi, it has been atleast a few months since any activity with my gallery but I was going to upload images and instead of opening the gallery I recieved the following error message:
Coppermine critical error:
Unable to connect to database !

MySQLi said: 1045 : Access denied for user 'photoman'@'sitea-web521.eigbox.net' (using password: YES)

When I logged into the web host there was a message that said:

PHP versions of software older than 8.4 will no longer be supported. You have one or more domains having unsupported PHP versions. Change your PHP setting for increased performance and security.

Any help getting back up would be much appreciated.
#8
cpg1.6 miscellaneous / Re: Can admin assign pid?
Last post by treehstn - August 16, 2026, 08:56:46 PM
Wow!!  Thank you!
#9
cpg1.6 miscellaneous / Re: Can admin assign pid?
Last post by ron4mac - August 16, 2026, 05:17:18 PM
I've added a plugin to the trove of plugins that might help you with your journey. I added it with all the other plugins as it might have benefit to someone else at some time.
#10
cpg1.6 plugin contributions / Reference IDs for uploaded fil...
Last post by ron4mac - August 16, 2026, 05:07:02 PM
This plugin adds a reference id field to the database pictures table. When files are uploaded, the field will automatically be set to the configured prefix and the gallery id of the file. Different prefixes can be configured for each user group. Thumbnail display will include the reference_id as a copy-to-clipboard link. The link will be to the image as displayed by the gallery.

Included with the plugin is a reference_id admin tool that can be used to bulk-set a reference ID for pre-existing files as selected in the admin tools.

Update: v1.0.5 small issue correction
Update: v1.1.0 added option to only show reference id link to logged in users