Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Error on uploading  (Read 5052 times)

0 Members and 1 Guest are viewing this topic.

Konstantinos

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 120
Error on uploading
« 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
« Last Edit: June 02, 2005, 06:26:12 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Error on uploading
« Reply #1 on: June 02, 2005, 05:32:54 pm »

and the edit folder ?
Logged

Konstantinos

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 120
Re: Error on uploading
« Reply #2 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 ?
Logged

Nibbler

  • Guest
Re: Error on uploading
« Reply #3 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.
Logged

Konstantinos

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 120
Re: Error on uploading
« Reply #4 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 ?
Logged

Nibbler

  • Guest
Re: Error on uploading
« Reply #5 on: June 02, 2005, 06:25:48 pm »

Yes.
Logged

Konstantinos

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 120
Re: Error on uploading
« Reply #6 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
Logged

Nibbler

  • Guest
Re: Error on uploading
« Reply #7 on: June 02, 2005, 06:42:43 pm »

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

confusion430

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Error on uploading
« Reply #8 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
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Error on uploading
« Reply #9 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.
Logged
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
Pages: [1]   Go Up
 

Page created in 0.029 seconds with 16 queries.