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
and the edit folder ?
what edit folder? i think must chmod more folder but which i dont know. or what else ?
albums/edit. If you don't jhave one create it and chmod. If 777 does not work try 755.
ok it worked. I guess i have to 777 the userpics folder as well and all the inside folders of users ?
Yes.
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
Then read the sticky thread about that message, it is unrelated.
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
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.