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
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
#2
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!
#3
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.
#4
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!
#5
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
#6
cpg1.6 upgrading / Upgrading from php 8.1 to 8.3 ...
Last post by websdinamicas - July 09, 2026, 01:23:01 PM
Hi!

Our Coppermine versión 1.6.27 is working fine on PHP 8.1 but now we want to upgrade to PHP 8.3

When entering in Files/Admin Tools, we get the error "PHP Request Shutdown: assert.active INI setting is deprecated".

Our PHP configuration is:

zend.assertions -1
assert.active Off
assert.bail Off
assert.callback no value
assert.exception On
assert.warning On

I can't find where the code uses Assertions!

Do you know the solution for this problem?

Thank you very much!



#7
cpg1.6 miscellaneous / Re: Unable to access the ADMIN...
Last post by ron4mac - June 07, 2026, 02:11:47 PM
Quote from: Legacies on June 07, 2026, 05:13:20 AMWe removed that php setting and are now able to access the admin tools.

Glad you were able to resolve it!
#8
cpg1.6 miscellaneous / Re: Unable to access the ADMIN...
Last post by Legacies - June 07, 2026, 05:13:20 AM
Quote from: 406man on June 06, 2026, 11:35:33 AMSomewhere there's an out of date file that's being picked up that references mbstring, either by Coppermine software or PHP itself. The difficult bit is finding it.

Thank you so very much. We conducted a "find" in our php settings and found mbstring had been selected by default when we upgraded our php settings for the entire server.

We removed that php setting and are now able to access the admin tools.

We appreciate all of the brain power you guys have.
Thank you again.
Respectfully
AmericanLegacies Staff
#9
cpg1.6 miscellaneous / Re: Unable to access the ADMIN...
Last post by Legacies - June 07, 2026, 04:49:32 AM
Quote from: ron4mac on June 05, 2026, 07:42:00 PMAround 4 years ago you gave me admin access to your gallery. If you would like to do that again, I'll look to see what I can find.
We upgraded your status to admin.If you have any difficulty gaining access, please send us a message.
Thank you very much.
#10
cpg1.6 miscellaneous / Re: Coppermine db overloading ...
Last post by Joe Carver - June 06, 2026, 06:01:21 PM
In addition to what ron4mac has suggested and what you have done so far, turninig off logging detailed Hit Statistics will take a large load off of your DB. Bot/crawler traffic has been hugely inreasing as of late.