Http Error During Image or Media Upload

Advertisement

if you are facing http error message while uploading any images in WordPress then follow our solution. This quick heck solve your problem easily.

First Follow This below video

Each time I try to upload an image using the WordPress Media Uploader (WP Admin > Media > Add new) the upload stalls at around 65% and I get an error message appear on screen “HTTP error”.

 

Quick Solution

1. Make an .htaccess file in your wp-admin directory. Add this to it:

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

Now Re-test, hope problem solve

 

2. Simple WordPress Plugin to set GD as default WP_Image_Editor

As of WordPress 3.5, GD has been abstracted out into WP_Image_Editor, and Imagick has been made the default image manipulation engine.

In most cases, this is what you want. However, if you’re having issues with Imagick, or just prefer the way that GD handles your images, this plugin sets GD as the default WP_Image_Editor class for WordPress.

== Installation ==

1. Upload the folder `default-to-gd` to the `/wp-content/plugins/` directory
2. Activate the plugin through the ‘Plugins’ menu in WordPress

download plugin from here

Now Re-test, hope problem solve

 

3. Disable Flash Uploader

WordPress comes with a nice Adobe Flash based image uploader. It is fancy, however, has found to cause problems with some WordPress installations. So one of the very first approaches is to disable the Flash uploader and try the regular uploader. The easiest way to achieve this is using the No Flash Uploader plugin.

Install the plugin, and try to upload an image. If the problem persists then move on to the next fix.

Now Re-test, hope problem solve

 

4. Change file permissions to /uploads/ folder

Connect to your website using the FTP client and then go to /wp-content/ directory. There you will see /uploads/ folder. Right click on the uploads directory and select file permissions.

Set 755 file permissions to the directories.

Now Re-test, hope problem solve

 

5. OK, I found this fix and it actually WORKS (for once)

via FTP

Create an empty plugins folder

  • Navigate to the wp-contents folder (directory)
  • Rename the folder “plugins” to “plugins.hold”
  • Create new folder called “plugins”
  • Login to your WordPress administration menus
  • Go to your Plugin Menu.. all your plugins will “break”
  • Reload the page, all your plugins are gone
  • Via FTP Delete the empty “plugins” you previous created
  • Now.. rename “plugins.hold” back to “plugins”
  • Reload your plugins admin page.. all plugins are back
  • NOW, try uploading an image.. no more HTTP error!
  • Now, re-activate your plugins. (bulk) all your settings for each plug in should still be there.

 

Advertisement

Add a Comment