coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: WSLam on November 29, 2003, 05:47:54 PM

Title: Batch Add Pictures Problem
Post by: WSLam on November 29, 2003, 05:47:54 PM
Upgraded from 1.10 to 1.20

When I try to Batch Add, I get this error:

Warning: opendir(drectorypath): failed to open dir: Invalid argument in drectorypath\searchnew.php on line 178

Warning: readdir(): supplied argument is not a valid Directory resource in drectorypath\searchnew.php on line 179

Warning: closedir(): supplied argument is not a valid Directory resource drectorypath\searchnew.php on line 189

I substituted the actualy directory path with 'directorypath' above.

any clue?

Thanks in advance.

ws
Title: Batch Add Pictures Problem
Post by: hyperion on November 30, 2003, 06:29:47 AM
Most likely you named the directory using . or another unusual kill character.

Then again, this substitiution you write about is vague.  The problem may have been caused by something you did there, like forgetting $ or using the incorrect spelling in the function call.
Title: Batch Add Pictures Problem
Post by: WSLam on November 30, 2003, 08:15:38 PM
Thanks.
I can't use '.'? in the directory name? that is what i have... but it used to work with 1.1?

ws
Title: Batch Add Pictures Problem
Post by: Joachim Müller on November 30, 2003, 11:37:04 PM
folders/files with leading dots have a special meaning in the Lunix world and mustn't be used. CPG1.2.0 has been modified accordingly.

GauGau