Author Topic: Error when trying to upload  (Read 3589 times)

0 Members and 1 Guest are viewing this topic.

Offline LunaPark

  • Newbie
  • *
  • Posts: 35
    • View Profile
Error when trying to upload
« on: May 15, 2008, 05:41:58 PM »
Hi.

I just found out that my members of the gallery can't upload pictures,
but as adminstrator it is possible.

When users try, they'll get theese errors on the top of the page....

Can anyone help ?



Warning: move_uploaded_file(./data/tmp_media/indian_flag.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/gagsdk/public_html/galleri/includes/upload.php on line 113

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phppgrNWX' to './data/tmp_media/indian_flag.jpg' in /home/gagsdk/public_html/galleri/includes/upload.php on line 113

Offline † manurom

  • Full Member
  • ***
  • Posts: 227
    • View Profile
    • manurom's 4images templates
Re: Error when trying to upload
« Reply #1 on: May 16, 2008, 09:03:13 AM »
Hello;
how are set the permissions for that directories:
  • data/media/tmp_media/
  • data/media/tmp_thumbnails?

CHMOD should be 777.

Offline LunaPark

  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: Error when trying to upload
« Reply #2 on: May 18, 2008, 03:50:33 PM »
Hello;
how are set the permissions for that directories:
  • data/media/tmp_media/
  • data/media/tmp_thumbnails?

CHMOD should be 777.

Thanks for your answar.. It fixed my problem :-)
Weird it has changed, by it self. But yet again thank you.