WebFaction
Community site: login faq

Hi, when I try to upload an image to my Wordpress media, I get the error "Http error" without any additional information. The image is 1.3M. I tried disabling all my plugins and uploading...same error. I'm seeing this warning in my error log:

2017/04/07 04:02:05 [warn] 46742#0: *24292792 a
client request body is buffered to a temporary
file /var/cache/nginx/client_temp/0000063840,
client: 173.49.154.18, server: joshuafialkoff.com, request: "POST
/wp-admin/async-upload.php HTTP/1.1", host: "joshuafialkoff.com",
referrer: "http://joshuafialkoff.com/wp-admin/upload.php"

Also, I updated my php.ini file with the following:

upload_max_filesize = 20M
post_max_size = 5M

All of this to no avail. Any thoughts would be much appreciated!

asked 07 Apr, 04:11

Josh's gravatar image

Josh
1613
accept rate: 0%

edited 07 Apr, 18:22

seanf's gravatar image

seanf ♦♦
11.9k21333


In the WordPress dashboard, go to Settings/General. Ensure that the "Site Address (URL)" setting and "WordPress Address (URL)" are set to http://joshuafialkoff.com/. If that doesn't resolve the issue, open the database in phpMyAdmin and check the siteurl and home fields in the wp_options table and ensure that the URL is correct there.

I hope this helps!

permanent link

answered 07 Apr, 14:33

maryh's gravatar image

maryh ♦♦
1.3k6
accept rate: 36%

Thanks. I made all the checks you suggested. Everything is correct. There are over 600 rows in the wp_options table btw. Are there specific rows you have in mind? I checked home and siteurl. Both have "http://joshuafialkoff.com/".

(07 Apr, 16:03) Josh Josh's gravatar image

@Josh ok, please open a support ticket and we'll look into this.

(07 Apr, 18:22) seanf ♦♦ seanf's gravatar image

I found a possible fix for this for sites after Wordpress 4.5:

Add the following to the sites .htaccess file:

SetEnv MAGICK_THREAD_LIMIT 1

[ reference: https://core.trac.wordpress.org/ticket/36534 ]

Only problem was that it worked once, and not after that!

permanent link

answered 11 Jun, 22:07

stephendwolff's gravatar image

stephendwolff
3114
accept rate: 0%

edited 11 Jun, 22:28

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×238

question asked: 07 Apr, 04:11

question was seen: 958 times

last updated: 11 Jun, 22:28

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2016 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM