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 Problem - Invalid directory -But I need to use &qu  (Read 2599 times)

0 Members and 1 Guest are viewing this topic.

oleje32

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Batch Add Problem - Invalid directory -But I need to use &qu
« on: January 16, 2004, 04:31:24 am »

First of all my server and setup:
Win2k Adv. Server - All servicepacks and security updates
IIS 5 with updates
PHP v.4.3
mysql 3.23.51
CPG 1.2 Standalone - no mods or anything
url: http://gizze.dk/galleri

I get the following error when trying to add dir with ".", as you have seen before - but is there no workaround?  - As I can read the problem should only be on bsd/linux systems...

-------------------
Warning: opendir(*PATH REMOVED*): failed to open dir: Invalid argument in *PATH REMOVED*\gizze.dk\galleri\searchnew.php on line 178

Warning: readdir(): supplied argument is not a valid Directory resource in *PATH REMOVED*gizze.dk\galleri\searchnew.php on line 179

Warning: closedir(): supplied argument is not a valid Directory resource in *PATH REMOVED*gizze.dk\galleri\searchnew.php on line 189
-------------------

Hope you can help me - I have around 10.000 photos to add to the albums if this is possible to do  :O)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Batch Add Problem - Invalid directory -But I need to use &qu
« Reply #1 on: January 16, 2004, 09:27:55 am »

well, you shouldn't have folders with dots in the name on linux systems afaik.
The line that is referenced in the error goes
Code: [Select]
   $dir = opendir($CONFIG['fullpath'] . $folder); - pretty ordinary piece of code, don't you think?
Please take a look at what php.net have to say on this: http://www.php.net/manual/en/function.opendir.php

GauGau
Logged

oleje32

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Batch Add Problem - Invalid directory -But I need to use &qu
« Reply #2 on: January 16, 2004, 01:29:24 pm »

Thx gaugau,

I'll try to make it work - I'll post again if I find bugs on win2k IIS on "."-dirs
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 14 queries.