coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: Konstantinos on June 02, 2005, 05:21:28 PM

Title: Error on uploading
Post by: Konstantinos on June 02, 2005, 05:21:28 PM
My host had a hard disk problem and they restored the files . However since then anytime i try to upload a pic i get this

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

Warning: move_uploaded_file(): Unable to move '/var/tmp/php80nRxD' to './albums/edit/mHTTP_temp_20032c86.jpg' in /home/greekdds/public_html/albums/upload.php on line 1197

I chmod files albums and include at 777 but still it happens
Title: Re: Error on uploading
Post by: Nibbler on June 02, 2005, 05:32:54 PM
and the edit folder ?
Title: Re: Error on uploading
Post by: Konstantinos on June 02, 2005, 06:01:20 PM
what edit folder? i think must chmod more folder but which i dont know. or what else ?
Title: Re: Error on uploading
Post by: Nibbler on June 02, 2005, 06:08:28 PM
albums/edit. If you don't jhave one create it and chmod. If 777 does not work try 755.
Title: Re: Error on uploading
Post by: Konstantinos on June 02, 2005, 06:21:43 PM
ok it worked. I guess i have to 777 the userpics folder as well and all the inside folders of users ?
Title: Re: Error on uploading
Post by: Nibbler on June 02, 2005, 06:25:48 PM
Yes.
Title: Re: Error on uploading
Post by: Konstantinos on June 02, 2005, 06:35:46 PM
now i get this error Fatal error:
Allowed memory size of 8388608 bytes exhausted (tried to allocate 6400 bytes) in /home/greekdds/public_html/albums/include/picmgmt.inc.php on line 209
Title: Re: Error on uploading
Post by: Nibbler on June 02, 2005, 06:42:43 PM
Then read the sticky thread about that message, it is unrelated.
Title: Re: Error on uploading
Post by: confusion430 on June 28, 2005, 03:38:10 PM
Im getting the message a lot of people are getting; but i follow all the steps to correct the problem and i still can't upload anything.  All the files that needed to be 777 or 755 were already set at 777 so i changed them all to 755 and im still getting this error.

Warning: move_uploaded_file(./albums/edit/mHTTP_temp_eb96469a.jpg): failed to open stream: Permission denied in /somesite/coppermine/upload.php on line 1197

Warning: move_uploaded_file(): Unable to move '/tmp/phpYgNdkL' to './albums/edit/mHTTP_temp_eb96469a.jpg' in /somesitel/coppermine/upload.php on line 1197

If anyone can get back to me on this relatively soon I would appreciate it.  Thanks
Title: Re: Error on uploading
Post by: kegobeer on June 28, 2005, 03:48:00 PM
You verified that permissions for /albums (and all directories in it) are set to 777?  Use your site's control panel to verify any changes you made with your FTP client.  The /edit subdirectory isn't writable by the script, which causes the error message.