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: Batch Add Pictures Problem  (Read 3521 times)

0 Members and 1 Guest are viewing this topic.

WSLam

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Batch Add Pictures Problem
« 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
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Batch Add Pictures Problem
« Reply #1 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.
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

WSLam

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Batch Add Pictures Problem
« Reply #2 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Batch Add Pictures Problem
« Reply #3 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
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.