Page 1 of 1

fetching images error

Posted: Sat Aug 12, 2006 1:29 am
by Capt Mike
When I try to fetch images fromt the web I get this error:
Warning: fopen(/home/skipper/public_html/uploads/mufti3.gif): failed to open stream: Permission denied in /home/skipper/public_html/include/admin/images.inc.php on line 198

Warning: fwrite(): supplied argument is not a valid stream resource in /home/skipper/public_html/include/admin/images.inc.php on line 199

Warning: fclose(): supplied argument is not a valid stream resource in /home/skipper/public_html/include/admin/images.inc.php on line 200
http://teletrabajo.com/hervada/islamonazis/mufti3.gif fetched as mufti3.gif
Thumbnail created.
Done.
It says it is done but the image is not really there when you go to it, it is just an empty file.

Is this a permission problem? I have the file permissions set at 777

If I upload from my computer I get this:
Adding image...


Warning: move_uploaded_file(/home/skipper/public_html/uploads/mufti3.gif): failed to open stream: Permission denied in /home/skipper/public_html/include/admin/images.inc.php on line 256

Warning: move_uploaded_file(): Unable to move '/tmp/php1HXkz0' to '/home/skipper/public_html/uploads/mufti3.gif' in /home/skipper/public_html/include/admin/images.inc.php on line 256
Unknown error occurred, file not uploaded. Maybe your filesize is larger than the maximum size allowed by your server installation. Check with your ISP or edit your php.ini file to allow larger file size uploads.

Re: fetching images error

Posted: Sun Aug 13, 2006 1:33 pm
by garvinhicking
Hi!

Your /home/skipper/public_html/uploads/ directory is not writable for the webserver! Check the permissions of that directory.

Best regards,
Garvin