coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: Kiyo on December 14, 2004, 07:56:58 AM

Title: Error: Cannot create write file.
Post by: Kiyo on December 14, 2004, 07:56:58 AM
Gallery url: http://gallery.thekinship.net
Test username: Test
Test password: test123

The album was created yesterday and ten pictures were uploaded. Everything went smooth. Today, another user tried uploading pictures, but gets the following message
QuoteError Report
The following uploads encountered errors:    
URI/URL Uploads:    
File Name/URL   Error Message   
1. http://www.clan-assembly.org/kinship/images/Europe038.jpg   Cannot create write file.

The directories and their CHMOD are as follows:
albums/ - 777
albums/edit/  - 666  (Note: I'm not allowed to change this from the FTP. I get "SITE CHMOD 777 edit 550 edit: Operation not permitted")
albums/userpics/ - 777
|_10001 - 777
|_10002 - 777

What has changed since yesterday and what makes the problems?

I try uploading both file and URL from my account, but it's not happening. I get the same message, plus at the top of the page, this is displayed:

QuoteWarning: is_dir(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /home/1/c/clan-assembly/coppermine/upload.php on line 432
Warning: filemtime(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /home/1/c/clan-assembly/coppermine/upload.php on line 440
Warning: unlink(./albums/edit/.): Permission denied in /home/1/c/clan-assembly/coppermine/upload.php on line 453
Warning: is_dir(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /home/1/c/clan-assembly/coppermine/upload.php on line 432
Warning: filemtime(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /home/1/c/clan-assembly/coppermine/upload.php on line 440
Warning: unlink(./albums/edit/..): Permission denied in /home/1/c/clan-assembly/coppermine/upload.php on line 453
Title: Re: Error: Cannot create write file.
Post by: Joachim Müller on December 14, 2004, 08:02:12 AM
make sure the "edit" folder exists within your "albums" folder.

Joachim
Title: Re: Error: Cannot create write file.
Post by: Kiyo on December 14, 2004, 08:03:56 AM
It does. Sorry for not clarifying. I have edited the first post to reflect this.
Title: Re: Error: Cannot create write file.
Post by: Joachim Müller on December 14, 2004, 08:14:30 AM
Quote from: Kiyo on December 14, 2004, 07:56:58 AM
albums/edit/  - 666  (Note: I'm not allowed to change this from the FTP. I get "SITE CHMOD 777 edit 550 edit: Operation not permitted")
You will need rwx permissions - if you can't CHMOD to 777, try 755. If this is impossible as well, contact your webhost for support.

Joachim
Title: Re: Error: Cannot create write file.
Post by: Kiyo on December 14, 2004, 08:17:20 AM
Ok...can't do either 777 nor 755. Will contact host.
Title: Re: Error: Cannot create write file.
Post by: Casper on December 14, 2004, 03:06:53 PM
You can also try renaming the edit folder, then creating a new one with the correct permissions.
Title: Re: Error: Cannot create write file.
Post by: Kiyo on December 14, 2004, 04:46:27 PM
That did it! Thank you, Casper!