User sent to blank ...
 
Notifications
Clear all

wpForo 1.x.x [Solved] User sent to blank page "413 Request Entity Too Large" when uploading large image

6 Posts
2 Users
2 Reactions
694 Views
Posts: 20
Topic starter
(@amandachestnutherbs)
Eminent Member
Joined: 3 years ago

When a user uploads a large image (over 3MB max allowed file size) instead of receiving error msg within the forum they are shown a server error message page with "413 Request Entity Too Large" (see attached).   

*forum is still in stage environment so I do not have a public url

 

5 Replies
Chris
Posts: 3627
(@chris)
Famed Member
Joined: 3 years ago

Hi @amandachestnutherbs,

This is related with your server hosting, you need to ask them to increase PHP Max Post Size and PHP Max Upload Size.

Posts: 20
Topic starter
(@amandachestnutherbs)
Eminent Member
Joined: 3 years ago

Thanks Chris, how much should the upload max be?

2 Replies
Chris
(@chris)
Joined: 3 years ago

Famed Member
Posts: 3627

@amandachestnutherbs,

Try this Calculator:

https://www.dotsamazing.com/en/labs/phpmemorylimit

(@amandachestnutherbs)
Joined: 3 years ago

Eminent Member
Posts: 20

@chris Thank you so much! Increasing PHP Max Post Size and PHP Max Upload Size to 256MB did the trick 🙂

Posts: 20
Topic starter
(@amandachestnutherbs)
Eminent Member
Joined: 3 years ago

Thank you!