Fatal error: Cannot redeclare scandir() in /usr/home/allcreat/public_html/galler Fatal error: Cannot redeclare scandir() in /usr/home/allcreat/public_html/galler
 

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

Started by nthewitt, February 25, 2008, 05:31:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nthewitt

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   :-\

copperminepro

post the full error message

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

nthewitt

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  :-[

Joachim Müller

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.