Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Batch Add Pictures Problem  (Read 3493 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 18 queries.