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 miscellaneous / Re: Can't Access My Gallery
Last post by ron4mac - Today at 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';.
#2
cpg1.6 miscellaneous / Re: Can't Access My Gallery
Last post by 406man - Yesterday at 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.
#3
cpg1.6 miscellaneous / Re: Can't Access My Gallery
Last post by typomaniac - Yesterday at 02:11:04 PM
If I upgrade to 1.6.29 and upgrade php to 8.4 this should work?
#4
cpg1.6 miscellaneous / Re: Can't Access My Gallery
Last post by 406man - Yesterday at 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
#5
cpg1.6 miscellaneous / Can't Access My Gallery
Last post by typomaniac - Yesterday at 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.
#6
cpg1.6 miscellaneous / Re: Can admin assign pid?
Last post by treehstn - August 16, 2026, 08:56:46 PM
Wow!!  Thank you!
#7
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.
#8
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

#9
cpg1.6 miscellaneous / Re: Can admin assign pid?
Last post by phill104 - August 14, 2026, 11:06:53 PM
I wonder if CPMFetch would do what you require - https://coppermine-gallery.com/forum/index.php/topic,80810.0.html
#10
cpg1.6 miscellaneous / Re: Can admin assign pid?
Last post by treehstn - August 14, 2026, 09:03:42 PM
Yes, and some of the galleries are going on different domains so having separate galleries makes sense.  I'm thinking of each photo as the same as specimens in a museum.  Being able to easily find specific ones is going to be important. I'll be writing several books that will have some of the photos in them and want to put the image number in the caption so it can be found easily.  I don't have a lot of confidence in my users (family) changing all of their image names on their computers to what the system will assign so if the file name in coppermine includes their name by default and then adds the prefix I think that will work for everyone.

Yes, other software will potentially be accessing the gallery databases and links may be used in other documents also.