Batch Add Problem - Invalid directory -But I need to use &qu Batch Add Problem - Invalid directory -But I need to use &qu
 

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]

Main Menu

Batch Add Problem - Invalid directory -But I need to use &qu

Started by oleje32, January 16, 2004, 04:31:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

oleje32

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)

Joachim Müller

well, you shouldn't have folders with dots in the name on linux systems afaik.
The line that is referenced in the error goes    $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

oleje32

Thx gaugau,

I'll try to make it work - I'll post again if I find bugs on win2k IIS on "."-dirs