Author Topic: Error after migrating site.  (Read 3521 times)

0 Members and 1 Guest are viewing this topic.

Offline Lineker

  • Pre-Newbie
  • Posts: 1
    • View Profile
Error after migrating site.
« on: May 03, 2007, 01:59:52 AM »
Hello when i try to upload new pictures to my gallery , i m getting this error.
I moved my gallery from one domain to other the other day and the gallery works fine but when you try to add something doesnt work.

Warning: move_uploaded_file(./../data/media/1/387369547_98aad7dbaa_b.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/wwwpuer/public_html/gallery/includes/upload.php on line 113

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/php8w40fw' to './../data/media/1/387369547_98aad7dbaa_b.jpg' in /home/wwwpuer/public_html/gallery/includes/upload.php on line 113
Image 1
    Error uploading image file: 387369547_98aad7dbaa_b.jpg
387369547_98aad7dbaa_b.jpg: Copy error. Please check the directory permissions.

No database entry!
Can any1 help me and point me what im doing wrong.
Thanks very much

manurom

  • Guest
Re: Error after migrating site.
« Reply #1 on: May 03, 2007, 10:09:16 AM »
Hello;
have you checked if your_4images_gallery_root/data/media/1 is writable (CHMOD 777)?

Offline JarekMk

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: Error after migrating site.
« Reply #2 on: May 13, 2007, 11:23:44 AM »
Hi,

I have this same problem, chmod in media is 777 but still i can't upload images... why ?

br
Jarek