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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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