Title: Cannot upload image &#8211; PHP error
Last modified: August 18, 2016

---

# Cannot upload image – PHP error

 *  [benblei](https://wordpress.org/support/users/benblei/)
 * (@benblei)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/cannot-upload-image-php-error/)
 * I am trying to upload an image in the Write Post section of the admin screen 
   and I get this error:
 * Warning: move_uploaded_file(/home/bbleik1/public_html/lovelyblogs/wp-content/
   uploads/2006/06/snook.gif) [function.move-uploaded-file]: failed to open stream:
   Permission denied in /home/bbleik1/public_html/lovelyblogs/wp-admin/admin-functions.
   php on line 1757
 * Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move ‘/
   tmp/phpTHqvdi’ to ‘/home/bbleik1/public_html/lovelyblogs/wp-content/uploads/2006/
   06/snook.gif’ in /home/bbleik1/public_html/lovelyblogs/wp-admin/admin-functions.
   php on line 1757
    The uploaded file could not be moved to .
 * Anyone know of an easy fix?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/cannot-upload-image-php-error/#post-412265)
 * CHMOD wp-content folder to 777 – CHMOD uplaod folder inside to 777.
 *  Thread Starter [benblei](https://wordpress.org/support/users/benblei/)
 * (@benblei)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/cannot-upload-image-php-error/#post-412269)
 * Well now I’m getting something about my database being out of date and giving
   me the option to upgrade…
 * I’ve never had this problem with any previous WordPress installs and I was uploading
   images last night without a problem…
 *  Thread Starter [benblei](https://wordpress.org/support/users/benblei/)
 * (@benblei)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/cannot-upload-image-php-error/#post-412274)
 * After CHMOD-777 to the two directories mentioned I have not been able to access/
   wp-admin/ and my index.php page is blank.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Cannot upload image – PHP error’ is closed to new replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [benblei](https://wordpress.org/support/users/benblei/)
 * Last activity: [19 years, 10 months ago](https://wordpress.org/support/topic/cannot-upload-image-php-error/#post-412274)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
