News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

Recent posts

#1
Mods: Permissions / Re: Moderators for Album pictu...
Last post by phill104 - Yesterday at 04:28:34 PM
Quote from: Xyzz on Yesterday at 03:58:51 PMAbbas, are you the owner of copper mine. Someone is unlawfully using my photos and name through this platform and I need the site removed please if you can help me. If not, I will have to take legal action. Please contact me immediately

Coppermine is a community run open source project. It has bee not only distributed by us, the makers of the tool, but by many service providers like godaddy, 1&1 etc. Anyone can download and install coppermine gallery software in much the same way anyone can download and install linux. How it is used is not something we can deal with. Coppermine does not host the images, it is just a tool for uploading and viewing said images. You will need to take legal action against the owener of watever site is hosting your images.

I do know how bad it feels when your iages are used elsewhere without your permission. I have seen images of mine used in a magazine, on a poster and in many places on the web. There are companies like Pixsy https://www.pixsy.com/ that may be able to help you get these taken down IF they are hosted in a country where they have influence. or the legal power to do so. That is not always the case I am afraid.
#2
Mods: Permissions / Re: Moderators for Album pictu...
Last post by Xyzz - Yesterday at 03:58:51 PM
Quote from: Abbas Ali on January 14, 2006, 05:53:27 PMThe files modified for both the mods are same and hence you will have to undo previous mod. If you hadn't any other mod other then my previous mod (upload approval) then it is recommended that you just replace your existing files with this one (do make backups).

Note: This mod also does upload approval.

Abbas, are you the owner of copper mine. Someone is unlawfully using my photos and name through this platform and I need the site removed please if you can help me. If not, I will have to take legal action. Please contact me immediately
#3
Mods: Permissions / Re: Moderators for Album pictu...
Last post by Xyzz - Yesterday at 03:56:28 PM
Quote from: Abbas Ali on April 18, 2006, 03:26:24 PMOpen the gallery's index page in browser. You will see the output there. Also post a link to your gallery so that i can see the output.


I need an owner of copper mine to contact me immediately. A user of your illegally posted a website in my name with photos not meant to be public which will ruin my reputation personally and professionally and is very serious. I have no idea how to navigate this site. I need the site removed immediately. Someone please contact me
#4
cpg1.6 miscellaneous / Re: Unable to access the ADMIN...
Last post by Slava - July 13, 2026, 08:13:31 PM
Quote from: Legacies on June 03, 2026, 08:16:16 PMThank you very much for any assistance.
Vibe coding may be helpful here.
A method that has worked very well for me is to make a full backup, then create a ZIP archive containing all gallery files except the `/albums/` directory and upload it to ChatGPT together with a detailed description of the problem. Before uploading, make sure to remove or replace any database passwords, API keys, email credentials, or other sensitive information from configuration files.
Ask ChatGPT to investigate the issue and return only the files that need to be changed. This makes it much easier to compare the modified files with the originals and restore the backup if necessary.
Using this approach, I have already modernized several old Coppermine galleries based on CPG 1.4.* and 1.5.* that previously worked only with PHP 5.3. They now run on PHP 8.5 and also have search-engine-friendly URLs, various SEO improvements, mobile-friendly layouts, and much better indexing.
Of course, always test the modified files on a copy of the gallery first and keep a complete backup of both the files and the database.
#5
cpg1.6 upgrading / Re: Upgrading from php 8.1 to ...
Last post by websdinamicas - July 13, 2026, 10:49:51 AM
Hi,

i could not found where Coppermine is using PHP Assertions but finally solved creating a .htaccess file in Coppermine dir with:

<IfModule mod_php.c>
  php_value assert.active                  -1
</IfModule>
#6
cpg1.6 upgrading / Re: Upgrading from php 8.1 to ...
Last post by ron4mac - July 09, 2026, 05:00:00 PM
It should not be needed for Drupal. That assertion has been deprecated by zend.assertions -1
#7
cpg1.6 upgrading / Re: Upgrading from php 8.1 to ...
Last post by websdinamicas - July 09, 2026, 04:36:55 PM
Hi!

i found it in drupal 10 .htaccess:

<IfModule mod_php.c>
  php_value assert.active                   0
</IfModule>

We get to Coppermine by a link in a Drupal instalation. Commenting that line or changing 0 by 1, the Coppermine page works. Now i have to see  how to manage it in Drupal.

Thanks a lot!
#8
cpg1.6 upgrading / Re: Upgrading from php 8.1 to ...
Last post by ron4mac - July 09, 2026, 04:24:09 PM
You might try commenting out assert.active Off in your PHP config. It is really only for much older versions of PHP and it may be tripping things up.
#9
cpg1.6 upgrading / Re: Upgrading from php 8.1 to ...
Last post by websdinamicas - July 09, 2026, 03:54:33 PM
Hi,

i haven't any .htaccess file in the Coppermine instalation.

Thanks!
#10
cpg1.6 upgrading / Re: Upgrading from php 8.1 to ...
Last post by ron4mac - July 09, 2026, 02:34:35 PM
Check for any .htaccess files, especially in your gallery, that may have assertions