Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Batch Add Files Problem  (Read 3148 times)

0 Members and 1 Guest are viewing this topic.

smoxsamantha

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Batch Add Files Problem
« on: April 16, 2007, 08:19:20 am »

Hi, I'm new to the board so I hope someone can help me with this problem.

When I try to batch add files, I get a message saying:
Quote
Warning: the script can't write in this directory, you need to change its mode to 755 or 777 before trying to add the files !

Does anyone know how to fix this?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Batch Add Files Problem
« Reply #1 on: April 16, 2007, 08:57:44 am »

Yes: read the permissions section of the docs and do as suggested there. The albums folder and everything within it needs to be writable for the script.
Logged

smoxsamantha

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Batch Add Files Problem
« Reply #2 on: April 16, 2007, 10:28:31 am »

Albums, Edit, Userpics and the Include folder all have permissions of 777. The only way I can batch add files is if the folder with the pics in it is chmoded to 777 but is there another way to get this working?

ive got 4 other coppermine galleries and have never had this problem.
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Batch Add Files Problem
« Reply #3 on: April 16, 2007, 10:45:06 am »

Quote
The albums folder and everything within it

Meaning that if you create a new folder within Albums you also should chmod that new folder to 777 otherwise the picture you upload into that folder will not be processed by batch add properly.
Logged

smoxsamantha

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Batch Add Files Problem
« Reply #4 on: April 16, 2007, 10:56:59 am »

ugh. ok thanks :)
Logged

smoxsamantha

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Batch Add Files Problem
« Reply #5 on: April 16, 2007, 11:26:08 am »

chmod that new folder to 777.

What about 755, will that not work?
Sorry for double post by the way.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Batch Add Files Problem
« Reply #6 on: April 16, 2007, 12:44:20 pm »

Depends on your server setup: may work on some servers, doesn't work on others. This is being explained in detail in the permissions section of the docs that I have already refered to. Did you do as suggested and read it? If yes: re-read extra carefully. If no: do so now - read it! We're reluctant to explain this over and over again, as it is not related to coppermine, but entirely to server setup.
Logged
Pages: [1]   Go Up
 

Page created in 0.108 seconds with 19 queries.