coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: julzz on September 12, 2005, 04:06:51 PM

Title: Upload Error
Post by: julzz on September 12, 2005, 04:06:51 PM
I am getting the following error when I try to upload. I have checked the permissions on this file and it is set to full access.

Warning: move_uploaded_file(./albums/edit/mHTTP_temp_1331418a.jpg): failed to open stream: Permission denied in /hsphere/local/home/julzz200/juliehowarddesign.com/Gallery/upload.php on line 1197

Warning: move_uploaded_file(): Unable to move '/tmp/phpMgB813' to './albums/edit/mHTTP_temp_1331418a.jpg' in /hsphere/local/home/julzz200/juliehowarddesign.com/Gallery/upload.php on line 1197

What have I done wrong?

Thanks!

I ran it again with debug on and got the following...
USER:
------------------
Array
(
    [ID] => b559895278b10a969050707a21a15a7c
    [am] => 1
    [liv] => Array
        (
           
Title: Re: Upload Error
Post by: Azrayen on September 12, 2005, 04:46:19 PM
It seems your script cannot write on your webserver.
Check the permissions to create / move files in the album folder (= check CHMOD, 755 recommended) with your FTP client.

Another thing : your link is to the gallery since the CPG's folder name is Gallery and not gallery. Take care of that ! ;)

Regards,
Azy