Advanced search  

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

Pages: [1]   Go Down

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

0 Members and 2 Guests 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.017 seconds with 19 queries.