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

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

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