forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: vipez on June 08, 2004, 02:25:20 pm

Title: mass upload files error.
Post by: vipez on June 08, 2004, 02:25:20 pm
When i try to mass upload files i get this error.

Code: [Select]
Warning: opendir(albums/userpics/050604_SBGR_Dressur/Katharina/) [function.opendir]: failed to open dir: Invalid argument in j:\apache\htdocs\test\cpg1.2.1_standalone\searchnew.php on line 178

Warning: readdir(): supplied argument is not a valid Directory resource in j:\apache\htdocs\test\cpg1.2.1_standalone\searchnew.php on line 179

Warning: closedir(): supplied argument is not a valid Directory resource in j:\apache\htdocs\test\cpg1.2.1_standalone\searchnew.php on line 189
There is no trouble when uploading single files...
Title: Re: mass upload files error.
Post by: Joachim Müller on June 08, 2004, 03:06:31 pm
you mustn't ftp-upload to the userpics folder in the first place! Make sure to CHMOD as suggested in the documentation (http://coppermine.sourceforge.net/manual.php) that comes with coppermine.

GauGau
Title: Re: mass upload files error.
Post by: vipez on June 09, 2004, 02:42:30 pm
the webserver is runnig on my own winXP machine with Apache. And windows dont have chmod.
I've just copied the images from docs to userpics, is this wrong?

How can i mass upload images then????
Title: Re: mass upload files error.
Post by: Casper on June 09, 2004, 02:49:48 pm
You should create new folders in the albums folder, but not in the userpics folder.  Put the pics in these new folders. 
You need to set the folder permissions so that they can be written to by the scripts.
Title: Re: mass upload files error.
Post by: Joachim Müller on June 10, 2004, 05:50:09 am
like Casper already suggested: although there's no CHMOD on Windows, there are permissions you can set. Both Apache webserver and IIS have a user the webserver runs under. For IIS, set the permissions for the users IUSR - you can as well configure the security settings with the "regular" Windows UI - see http://www.microsoft.com/resources/documentation/WindowsServ/2003/all/deployguide/en-us/Default.asp?url=/resources/documentation/WindowsServ/2003/all/deployguide/en-us/iisdg_sec_wtzf.asp

GauGau