• 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.

    I read about someone having the same exact problem, which was fixed by them typing “wp-content/uploads” in the settings –> miscellaneous section, but mine already says that.

    Any help would be greatly appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter thatfan

    (@thatfan)

    An update:

    I tried to upload an image from a seperate computer and got the same error, however, I uploaded an image from the WordPress iPhone app, and was successful.

    Any ideas???

    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 …

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Please help! Media upload error…’ is closed to new replies.