Can't upload images

Having trouble installing serendipity?
Post Reply
rjeyre
Posts: 4
Joined: Sat Feb 18, 2006 11:05 pm

Can't upload images

Post by rjeyre »

I have searched, but can't seem to find an answer to my problem. When I try to upload an image, I get the following error:

Warning: move_uploaded_file(/home/content/r/j/e/rjeyre/html/blog/uploads/claire.jpg): failed to open stream: No such file or directory in /home/content/r/j/e/rjeyre/html/blog/include/admin/images.inc.php on line 230

Warning: move_uploaded_file(): Unable to move '/tmp/phpqOcUXo' to '/home/content/r/j/e/rjeyre/html/blog/uploads/claire.jpg' in /home/content/r/j/e/rjeyre/html/blog/include/admin/images.inc.php on line 230
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.

The image is only 165 KB.

Any ideas?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Can't upload images

Post by garvinhicking »

You'll need to contact your sysadmin and ask him to check the file permissions in the /tmp/ directory, and see that your PHP user is able to move the files there.

The error simply means that your provider has not properly installed PHP to properly allow/handle file uploads.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply