coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: angelic_angel88 on September 18, 2006, 05:49:32 AM

Title: Error: Cannot create write file
Post by: angelic_angel88 on September 18, 2006, 05:49:32 AM
Problem: I usually upload my files via HTTP and never had a problem. But lately I've been getting an error message. I occasionally get a similar message when uploading the other way as well, but not all the time. 

Test User Account:
Username: Testie
Password: testuserpass

I can't seem to set the account to allow the test user to upload files though. So I hope you can help with that as well. When logged in as Testie I keep getting this error message: Sorry there is no album where you are allowed to upload files

File: /home/fans/public_html/kellyclarkson/gallery/upload.php - Line: 874


Here's the debug info for that too:

USER:
------------------
Array
(
    [ID] => 456ae8fa272a18b940930841e4e08d40
    [am] => 1
    [lang] => english
    [liv] => Array
        (
           
Title: Re: Error: Cannot create write file
Post by: Joachim Müller on September 18, 2006, 08:40:01 AM
In the future, please don't post debug_output unless requested.

The error message I get is
QuoteFailed to create directory albums/userpics/10004 !

File: /home/fans/public_html/kellyclarkson/gallery/db_input.php - Line: 318
Solution: set permissions on the albums folder and everything within it as suggested in the docs (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#permissions).
Title: Re: Error: Cannot create write file
Post by: angelic_angel88 on September 19, 2006, 04:38:14 AM
Oh I'm so sorry. I had no idea.

That seemed to do the trick. Thank you very much for your help!