Title: Image upload error:  &#8220;File is empty.  Please&#8230;&#8221;
Last modified: August 19, 2016

---

# Image upload error: “File is empty. Please…”

 *  [thatfan](https://wordpress.org/support/users/thatfan/)
 * (@thatfan)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/image-upload-error-file-is-empty-please/)
 * Today I tried to upload a JPG image to my blog and I got the following error:
 * “File is empty. Please upload something more substantial. This error could also
   be caused by uploads being disabled in your php.ini or by post_max_size being
   defined as smaller than upload_max_filesize in php.ini.”
 * The file I tried to upload wasn’t that large, and I’ve never gotten this error
   before so I’m confused as to why this is all of the sudden happening. I contacted
   Godaddy and they said it was a WordPress issue and couldn’t help me.
 * By the way, I checked PHP.ini and my uploads are not disabled, and my max post
   size is 8MB. The image I’m trying to upload is only about 45KB, so I don’t think
   php.ini is the problem.
 * Any help would be greatly appreciated!

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

 *  [festinhabobanoape](https://wordpress.org/support/users/festinhabobanoape/)
 * (@festinhabobanoape)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/image-upload-error-file-is-empty-please/#post-1328494)
 * I am having the same problem, it happened just after I upgraded from 2.8.6 to
   2.9.1 – I also lost all my categories and tags that I am dealing on this other
   post:
 * [http://wordpress.org/support/topic/349105?replies=1](http://wordpress.org/support/topic/349105?replies=1)
 * If you have any news over here please let me know…
 * Thanks
 *  [sproke](https://wordpress.org/support/users/sproke/)
 * (@sproke)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/image-upload-error-file-is-empty-please/#post-1328550)
 * I’m having the same trouble as “thatfan”. I had originally thought that it was
   because there was not any room on my server, but I have a 104mb free, and I’m
   only uploading a 256kb photos. Any body else having this problem?
 *  [suneedh](https://wordpress.org/support/users/suneedh/)
 * (@suneedh)
 * [16 years ago](https://wordpress.org/support/topic/image-upload-error-file-is-empty-please/#post-1328589)
 * I am having the same problem as well. Could anyone Please help us out here?
 *  [jcobras3](https://wordpress.org/support/users/jcobras3/)
 * (@jcobras3)
 * [16 years ago](https://wordpress.org/support/topic/image-upload-error-file-is-empty-please/#post-1328591)
 * Hello! I just ran into this problem today as well…could someone please assist
   me with this? Thanks!
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years ago](https://wordpress.org/support/topic/image-upload-error-file-is-empty-please/#post-1328592)
 * If this is happening with a single image, try re-saving the image as a standard-
   encoded .jpg file in a graphics application before re-uploading it.
 *  [MiguelOliveira](https://wordpress.org/support/users/migueloliveira/)
 * (@migueloliveira)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/image-upload-error-file-is-empty-please/#post-1328595)
 * The error is caused by a SQL error. It happened to me recently and found a mistake
   in a line responsible for the insertion of documents in the table posts. This
   error appears in the file \ wp-admin \ includes \ file.php (line 280) and in 
   the file \ wp-admin \ includes \ import.php (line 63) (responsible for the import
   of xml) and despite the SQL script insertion arise later, swfupload returns this
   error. This can be caused by file name or any other reason. It happened to me,
   I hope I can help …
 *  [Choja](https://wordpress.org/support/users/choja/)
 * (@choja)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/image-upload-error-file-is-empty-please/#post-1328598)
 * Same problem just began with me…
    **File is empty. Please upload something more
   substantial. This error could also be caused by uploads being disabled in your
   php.ini or by post_max_size being defined as smaller than upload_max_filesize
   in php.ini.**
 * WTF??? Is anyone going to tell us how to fix this??
 *  [tom_geraghty](https://wordpress.org/support/users/tom_geraghty/)
 * (@tom_geraghty)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/image-upload-error-file-is-empty-please/#post-1328605)
 * Same problem here:
 * > File is empty. Please upload something more substantial. This error could also
   > be caused by uploads being disabled in your php.ini or by post_max_size being
   > defined as smaller than upload_max_filesize in php.ini.
 * On shared linux hosting, and completely stumped by it right now.

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

The topic ‘Image upload error: “File is empty. Please…”’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 9 participants
 * Last reply from: [tom_geraghty](https://wordpress.org/support/users/tom_geraghty/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/image-upload-error-file-is-empty-please/#post-1328605)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
