1
Cifug
XcGal
  • 2008/6/12 7:16

  • Cifug

  • Quite a regular

  • Posts: 208

  • Since: 2007/12/13


Hi guys, I am having trouble with xcgal. I am trying to batch add some pics in an album. I have uploaded the pics to a new directory and when I go to admin/xcgal/batch_add_pictures I get this error:
Fatal errorCannot redeclare scandir() in /home/marty/public_html/modules/xcgal/admin/searchnew.php on line 314

The code I have is:
308       if (count($dir_array) > 0){
309           foreach ($dir_array as $directory) {
310               scandir($dir.$directory.'/'$expic_array);
311           }
312       }
313       return $count;
314   }
315
316


Anyone know anything about this? Any help would be muchly apreciated.

Thanks for your time,
Marty

2
Anonymous
Re: XcGal
  • 2008/6/12 8:37

  • Anonymous

  • Posts: 0

  • Since:


Hi,

What version of xcgal are you running and what version of php is on your server?

I can let you have xcgal 2.0.3 if you send me a PM with your email address

3
kerkyra
Re: XcGal
  • 2008/6/12 8:53

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


perhaps commenting out
searchnew.php on line 314
the scandir function???
whttp://www.guidemap.gr - Beta is out...

4
Anonymous
Re: XcGal
  • 2008/6/12 9:22

  • Anonymous

  • Posts: 0

  • Since:


Quote:
kerkyra wrote:

perhaps commenting out
searchnew.php on line 314
the scandir function???


No need for code hacks just yet; Cifug is using a very old version of the module.

I've advised trying 2.0.3 and seeing if the conflict is still there.

Login

Who's Online

364 user(s) are online (239 user(s) are browsing Support Forums)


Members: 0


Guests: 364


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits