Can't upload files to wordpress
Bug #1491995 reported by
Nate Finch
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wordpress (Juju Charms Collection) |
Fix Released
|
Undecided
|
Matthew Ruffell |
Bug Description
When you create a post or customize your site's appearance, you have the opportunity to upload files (i.e. pictures etc), which brings you to the "insert media" page.... uploads using this page apparently always fail with "http error". It appears to be an nginx configuration problem.
Note, I'm using just the default settings for wordpress (tuning=single etc) and mysql. This is easily reproducible with local provider (but is not specific to local provider).
description: | updated |
To post a comment you must log in.
Appears to be an nginx configuration problem:
/var/log/nginx$ more error.log 10.0.3. 202/wp- admin/customize .php?return= %2Fwp-admin% 2F" 10.0.3. 202/wp- admin/post- new.php"
2015/09/03 14:24:00 [error] 31196#0: *161 client intended to send too large body: 1326272 bytes, client: 10.0.3.1, server: _, request: "POST /wp-admin/async
-upload.php HTTP/1.1", host: "10.0.3.202", referrer: "http://
2015/09/03 14:41:49 [error] 31196#0: *314 client intended to send too large body: 1326367 bytes, client: 10.0.3.1, server: _, request: "POST /wp-admin/async
-upload.php HTTP/1.1", host: "10.0.3.202", referrer: "http://
Note, I'm uploading a file that is 1.3MB picture, and wordpress is defaulted to supporting 2MB... but evidently nginx's configuration is different.