coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: ukmaj on October 08, 2006, 06:57:36 PM

Title: errors
Post by: ukmaj on October 08, 2006, 06:57:36 PM
Hi
I've transferred an install from one server to another, as instructed elsewhere on your site, but I had two different cPanel names to deal with.
I've managed to get my gallery running and showing images, but cannot add files.

The error I receive is:

QuoteWarning: move_uploaded_file(./albums/edit/mHTTP_temp_f7e9771e.jpg): failed to open stream: Permission denied in /home/*cPanel*/public_html/cmine/upload.php on line 1206

Warning: move_uploaded_file(): Unable to move '/tmp/phpHbHuyL' to './albums/edit/mHTTP_temp_f7e9771e.jpg' in /home/*cPanel*/public_html/cmine/upload.php on line 1206

(*cPanel* = edited)

Any help appreciated.
Thank you.
Title: Re: errors
Post by: Nibbler on October 08, 2006, 07:00:06 PM
Set permissions as described in the documentation.
Title: Re: errors
Post by: ukmaj on October 08, 2006, 07:01:00 PM
Quote from: Nibbler on October 08, 2006, 07:00:06 PM
Set permissions as described in the documentation.

I thought I had to be honest.

I'll check again.
Thank you.
Title: Re: errors
Post by: Nibbler on October 08, 2006, 07:05:20 PM
If you get a message saying 'Permission denied' you can be pretty sure your permissions are not correct.
Title: Re: errors
Post by: ukmaj on October 08, 2006, 07:08:28 PM
Quote from: Nibbler on October 08, 2006, 07:05:20 PM
If you get a message saying 'Permission denied' you can be pretty sure your permissions are not correct.

For some reason, 777 wouldn't work on folder 'albums/uploads', but 775 did.

The transfer now seems to have been 100% succesfull.
Thanks for all your help.
Title: Re: errors
Post by: Nibbler on October 08, 2006, 07:19:39 PM
Great. The documentation states 777/755 for this very reason.