coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: Thekk Kheelan on March 06, 2006, 04:22:31 PM

Title: Looks Like a Permission Problem
Post by: Thekk Kheelan on March 06, 2006, 04:22:31 PM
I get this error when I try to upload a File.

Warning: move_uploaded_file(./albums/edit/mHTTP_temp_6c5a311f.jpg): failed to open stream: Permission denied in /home/tagnikzu/public_html/gallery/upload.php on line 1197

Warning: move_uploaded_file(): Unable to move '/var/tmp/phpX54FCu' to './albums/edit/mHTTP_temp_6c5a311f.jpg' in /home/tagnikzu/public_html/gallery/upload.php on line 1197
Title: Re: Looks Like a Permission Problem
Post by: Nibbler on March 06, 2006, 04:22:57 PM
CHMOD albums/edit to 777/755
Title: Re: Looks Like a Permission Problem
Post by: Thekk Kheelan on March 06, 2006, 04:34:05 PM
Thanks,

That got me uploading files. Is the Warning anything to worry about?

Warning: move_uploaded_file(): Moved: '/var/tmp/phpX54FCu' to './albums/edit/mHTTP_temp_9ae0b46b.jpg' in /home/tagnikzu/public_html/gallery/upload.php on line 1197

Thanks again for your help :)

Thekk
Title: Re: Looks Like a Permission Problem
Post by: Joachim Müller on March 06, 2006, 11:05:03 PM
yes. Blind guess: you're self-hosted.