Advanced search  

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

Pages: [1]   Go Down

Author Topic: mass upload files error.  (Read 2814 times)

0 Members and 1 Guest are viewing this topic.

vipez

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
mass upload files error.
« 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...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: mass upload files error.
« Reply #1 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 that comes with coppermine.

GauGau
Logged

vipez

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: mass upload files error.
« Reply #2 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????
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: mass upload files error.
« Reply #3 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.
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: mass upload files error.
« Reply #4 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
Logged
Pages: [1]   Go Up
 

Page created in 0.064 seconds with 19 queries.