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

Upgrading from php 8.1 to 8.3 - assert.active INI setting is deprecated

Started by websdinamicas, Today at 01:23:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

websdinamicas

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!




ron4mac

Check for any .htaccess files, especially in your gallery, that may have assertions

websdinamicas

Hi,

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

Thanks!

ron4mac

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.

websdinamicas

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!