Title: HTTP error when uploading some media
Last modified: September 1, 2016

---

# HTTP error when uploading some media

 *  [davidgwatkins](https://wordpress.org/support/users/smeddlesboy/)
 * (@smeddlesboy)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/http-error-when-uploading-some-media/)
 * Our WordPress site is temperamental when it comes to uploading media. From what
   I can see from browsing old topics on the forums, this is not an unusual problem,
   but the other topics all seemed relatively old so I was reluctant to try following
   the advice without checking further.
 * Basically when “insert media” and “upload files”, the upload begins, the blue
   bar begins to move to indicate the file is being uploaded, but then stops part-
   way across and it ends up saying “HTTP error”.
 * Whilst I can’t be 100% sure, I am pretty sure that the issue is not dependent
   on file type, size of file, which user is logged in, or which browser is being
   used, as I’m pretty certain that sometimes it works and sometimes doesn’t work
   regardless of all of these factors.
 * I’d estimate it works about 20-30% of the time.
 * The issue began after I had to migrate the WordPress site from one server (where
   it was operated by IT support with much more experience than me) to my own server
   where I am the only one responsible for maintaining it. My suspicion is I made
   a mistake when installing.

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 11 months ago](https://wordpress.org/support/topic/http-error-when-uploading-some-media/#post-7553935)
 * On a upload that borks, look in wp-content/uploads. Is the file you uploaded 
   there? If so, are the various sizes of it there or missing?
 * If the latter (they’re missing) it suggests you’re having a problem with gd or
   imagemagick, which could be a temp space issue, a memory issue, or something 
   else.
 * do you have gd and php-gd installed, as well as imagemagick?
 *  Thread Starter [davidgwatkins](https://wordpress.org/support/users/smeddlesboy/)
 * (@smeddlesboy)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/http-error-when-uploading-some-media/#post-7553938)
 * As an aside, as this may be linked in, it took me about 10 tries to successfully
   install WordPress 4.5.3 – the automatic installation kept freezing mid-way through.
 *  Thread Starter [davidgwatkins](https://wordpress.org/support/users/smeddlesboy/)
 * (@smeddlesboy)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/http-error-when-uploading-some-media/#post-7553942)
 * Thanks for that reply.
 * I checked wp-content/uploaded. None of the files from the last 2-3 days that 
   caused HTTP errors are there.
 * I’m afraid I have no idea at all what gd, php-gd or imagemagick are, so I may
   need some more advice here if that’s possible.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 11 months ago](https://wordpress.org/support/topic/http-error-when-uploading-some-media/#post-7553950)
 * If the files are not there then it becomes more mysterious. Are any file systems
   low on space?
 *  try the command df -h
 * Look in your server’s error log to see if there are any errors the occur at the
   times you were trying to upload
 *  Thread Starter [davidgwatkins](https://wordpress.org/support/users/smeddlesboy/)
 * (@smeddlesboy)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/http-error-when-uploading-some-media/#post-7554179)
 * Thanks for your reply.
 * Firstly the error log is totally empty. I can’t work out if that means there 
   are no errors (which sounds unlikely to me) or whether the fact that the error
   log is empty is itself an error.
 * However I just experimented some more and successfully uploaded a few smaller
   files; but then got the HTTP error again when I tried to upload a file of 2MB.
   So maybe file size is the issue after all. Is it possible that the system isn’t
   quite set up correctly to accept larger files?
 * In “upload media” it says “maximum upload file size 8MB” which suggests 2MB files
   should be OK; but is it possible that there’s some other setting somewhere that
   might not be set up correctly?
 * Finally I may need some help running the command df -h. I know I’ve done these
   type of commands in the past but I just cannot for the life of me remember which
   program I use to type it in and what syntax I use to do this. Sorry, I’m just
   a bit inexperienced here.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 11 months ago](https://wordpress.org/support/topic/http-error-when-uploading-some-media/#post-7554180)
 * It’s possible you’re low on disk space on one or more partitions. Please check
   with your host.
 *  Thread Starter [davidgwatkins](https://wordpress.org/support/users/smeddlesboy/)
 * (@smeddlesboy)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/http-error-when-uploading-some-media/#post-7554256)
 * Thanks for the reply, though it took me a while to act on it.
 * I checked with the host who confirms that there are no problems with disk space,
   so I’m back to square one.
 * They did make a suggestion that I create a php.ini file to increase the spaace
   but – despite them sending me a link relating to this – I think it’s beyond my
   coding capability
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 11 months ago](https://wordpress.org/support/topic/http-error-when-uploading-some-media/#post-7554257)
 * > hey did make a suggestion that I create a php.ini file to increase the spaace
   > but – despite them sending me a link relating to this – I think it’s beyond
   > my coding capability
 * Please ask them to make the change for you and see if it helps.
 *  Thread Starter [davidgwatkins](https://wordpress.org/support/users/smeddlesboy/)
 * (@smeddlesboy)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/http-error-when-uploading-some-media/#post-7554259)
 * THanks have asked them to do so and am liaising with them via their support channels.
 * I now have a strange situation where every time I upload something I am still
   getting HTTP error; and every time they upload the same files it is working fine
   for them! Thankfully they’ve not given up on me and are still trying!
 *  Thread Starter [davidgwatkins](https://wordpress.org/support/users/smeddlesboy/)
 * (@smeddlesboy)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/http-error-when-uploading-some-media/#post-7554265)
 * Sorry I could still do with some help here. The hosting company have tried various
   options and not succeeded.
 * They have directed me to [this thread](https://wordpress.org/support/topic/http-error-on-image-upload-still?replies=41)
   which is what I think they were using themselves and they have tried various 
   tweaks but it’s not worked yet.
 * They have directed me to this quote:
 * >  This might work. All the advice to update my htaccess was not helping. I run
   > my blog on a windows server. This is how I fixed this HTTP error problem.
   > With in your Dashboard go to Settings and then Miscellaneous Setting.
   > For some reason my hosting site automatically added this to the Store upload
   > files path.
   > (/home/users/web/b2284/ipw.livingproofbc/nt/blog/wp-content/uploads)
   > I deleted it all and replaced it with
   > wp-content/uploads (just as recommend.) (Also make sure you have a uploads 
   > file in your wp-content folder)
   > Now IT WORKS!
   > This only took me 8 hours of tweaking to get it to work. Hope this works for
   > you.
 * However in WordPress 4.5.3 there is no longer a “Miscellaneous Setting” option
   in “Settings”. How can I check this in WordPress 4.5.3? (the original post was
   6 years old)

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

The topic ‘HTTP error when uploading some media’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 2 participants
 * Last reply from: [davidgwatkins](https://wordpress.org/support/users/smeddlesboy/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/http-error-when-uploading-some-media/#post-7554265)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
