coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: Englyst on June 17, 2005, 08:14:45 AM

Title: Destination directory albums/albums/ is not writable by the script !
Post by: Englyst on June 17, 2005, 08:14:45 AM
I get the error in the subject when tryin gto upload images, either as admin or registered user. The folder permissions should be ok!

Destination directory albums/albums/ is not writable by the script !

File: /hsphere/local/home/halfi/skaarberg.dk/db_input.php - Line: 242

Anyone seen this?
Title: Re: Destination directory albums/albums/ is not writable by the script !
Post by: Joachim Müller on June 17, 2005, 08:48:45 AM
I don't think that the permissions are OK, this is a very common error that hints on permission issues. If you're absolutely sure that permissions are set up correctly, take a look at the ownership (CHOWN).
Title: Re: Destination directory albums/albums/ is not writable by the script !
Post by: Englyst on June 17, 2005, 11:19:58 AM
Ok, thanks. I'll check it again.  :)
Title: Re: Destination directory albums/albums/ is not writable by the script !
Post by: Englyst on July 20, 2005, 10:13:39 AM
Hi again.

I've checked up on the permission properties but still it gives me the same error. Was wondering why it writes the path "albums/albums/" ?? That just doesn't seem like being in existence :)
Title: Re: Destination directory albums/albums/ is not writable by the script !
Post by: kegobeer on July 20, 2005, 02:33:22 PM
Do you have albums/albums specified as your albums directory in your config settings?  That's the only way it would be trying to write to that directory.
Title: Re: Destination directory albums/albums/ is not writable by the script !
Post by: Englyst on July 21, 2005, 07:32:48 AM
My settings look allright:

This is taken from the config page:

The album directory * = albums/
The directory for user files * = albums/

Title: Re: Destination directory albums/albums/ is not writable by the script !
Post by: Englyst on July 21, 2005, 08:24:16 AM
Ahhh, fixed it! I put userpics/ into the user files directory and it now works :) I don't know why it was set to albums/ in the first place..