Error on uploading Error on uploading
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Error on uploading

Started by Konstantinos, June 02, 2005, 05:21:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Konstantinos

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

Nibbler


Konstantinos

what edit folder? i think must chmod more folder but which i dont know. or what else ?

Nibbler

albums/edit. If you don't jhave one create it and chmod. If 777 does not work try 755.

Konstantinos

ok it worked. I guess i have to 777 the userpics folder as well and all the inside folders of users ?

Nibbler


Konstantinos

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

Nibbler

Then read the sticky thread about that message, it is unrelated.

confusion430

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

kegobeer

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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots