• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 POST Content-Length of (...) exceeds the limit of (...) in Unknown on line 0

imthebest

Well-known member
#1
Hi,

I just saw the following error logged in my php.log file (nothing got logged in the XenForo error log):

Code:
PHP Warning:  POST Content-Length of 9377285 bytes exceeds the limit of 8388608 bytes in Unknown on line 0
First time ever I get that error. Is this bad? What does it means? I don't allow attachments on my forum however I have the XFMG. Is this related?

Thanks,
Super120
 

imthebest

Well-known member
#3
Is this caused by sameone trying to upload a file higher than 1MB? I do not allow attachments on my forum and XFMG is configured to allow a maxium file size of 1MB and maximum 3 uploads per time.
 

Mike

XenForo developer
Staff member
#4
It's caused by a request being larger than post_max_size. This is just what's sent to the server; any constraints aren't going to be applied/relevant at that time.

But yes, it could be caused by that.