1. 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

Discussion in 'XenForo Questions and Support' started by imthebest, May 1, 2015.

  1. imthebest

    imthebest Formerly Super120

    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
     
  2. Mike

    Mike XenForo Developer Staff Member

  3. imthebest

    imthebest Formerly Super120

    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.
     
  4. Mike

    Mike XenForo Developer Staff Member

    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.
     

Share This Page