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() in /usr/home/allcreat/public_html/galler  (Read 3094 times)

0 Members and 1 Guest are viewing this topic.

nthewitt

  • Coppermine newbie
  • Offline Offline
  • Posts: 2

any ideas what is happening here?? I am stumped,
Thanks heaps - I have not used this forum before - hope I have posted using the correct protocol   :-\
Logged

copperminepro

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 48

post the full error message

more than likely you somehow added a line break at the bottom of a php file after the ?>
Logged

nthewitt

  • Coppermine newbie
  • Offline Offline
  • Posts: 2

Hi,
Thank you for the reply - here is the full error message -

Fatal error: Cannot redeclare scandir() in /usr/home/allcreat/public_html/gallery/searchnew.php on line 309

any help would be greatly appreciated - I have show pics I need to upload and can't do it  :-[
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de

You appear not to be installing the most recent stable release of coppermine (which is currently cpg1.4.16) - this has been fixed in previous versions - the function has been renamed from scandir to CPGscandir because of a collision with the naming scheme of PHP5. Don't install an outdated version - there are reasons why we release new versions: they fix issues that existed in previous versions. Get cpg1.4.16 and install it.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.