forum.coppermine-gallery.net
Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: vipez on June 08, 2004, 02:25:20 pm
-
When i try to mass upload files i get this error.
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...
-
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
-
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????
-
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.
-
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