#5752 closed defect (bug) (worksforme)
Nginx error "413 Request Entity Too Large" while trying to upload large (several megabytes) group avatars
Reported by: | jreeve | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.0 |
Component: | Media | Keywords: | reporter-feedback |
Cc: |
Description
Buddypress seems to be able to handle error messages for attempts to upload group avatars that are too large (bp-core-avatars.php:577), yet when I test this, I get the Nginx error "413 Request Entity Too Large."
To reproduce: try to upload a group avatar that's too large (I tried a 10M image file) and see if it breaks.
Change History (5)
#2
@
10 years ago
- Milestone Awaiting Review deleted
- Resolution set to worksforme
- Status changed from new to closed
I am closing because we haven't heard from the original reporter in 3 weeks (and we need more details). I suspect this is just a web server configuration change that's needed.
#3
@
10 years ago
Sorry for the late response--I need to remember to add myself as a subscriber to these tickets. It looks like client_max_body_size
is 4m
. That's probably the issue. I'll just try to remember to set this value to be high enough so that the error message comes from BP and not from Nginx. Thanks!
In your Nginx, what's the value of the
client_max_body_size
option?