Fatal error: Cannot redeclare scandir() Fatal error: Cannot redeclare scandir()
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Fatal error: Cannot redeclare scandir()

Started by kumschick, September 14, 2004, 09:16:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kumschick

Hi,

We have updated our server with PHP 5.0.1

since then we get on the page "/searchnew.php" this error msg: Fatal error: Cannot redeclare scandir() in ...\www\album\searchnew.php on line 300
We don't want to update the album?


Nibbler

Rename the function declaration and the function calls to something different eg. CPGscandir.

Joachim Müller

this has been solved for cpg1.3.x, I guess you're using an outdated version of coppermine. Updating recommended.
We have tested coppermine with php5, but there appear to be issues for some users when trying to run php5 together with coppermine.

Joachim