mass upload files error. mass upload files error.
 

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

mass upload files error.

Started by vipez, June 08, 2004, 02:25:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vipez

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...

Joachim Müller

you mustn't ftp-upload to the userpics folder in the first place! Make sure to CHMOD as suggested in the documentation that comes with coppermine.

GauGau

vipez

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????

Casper

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.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

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