Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Fatal error: Cannot redeclare scandir()  (Read 11135 times)

0 Members and 1 Guest are viewing this topic.

kumschick

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Fatal error: Cannot redeclare scandir()
« on: September 14, 2004, 09:16:39 pm »

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?

Logged

Nibbler

  • Guest
Re: Fatal error: Cannot redeclare scandir()
« Reply #1 on: September 14, 2004, 09:20:49 pm »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Fatal error: Cannot redeclare scandir()
« Reply #2 on: September 15, 2004, 09:28:28 am »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.