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!
Check for any .htaccess files, especially in your gallery, that may have assertions
Hi,
i haven't any .htaccess file in the Coppermine instalation.
Thanks!
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.
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!
It should not be needed for Drupal. That assertion has been deprecated by zend.assertions -1