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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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