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

XF 1.2 Censoring error when adding too many censored words

Discussion in 'XenForo Questions and Support' started by Noobstradamus, Jan 5, 2014.

  1. Noobstradamus

    Noobstradamus Member

    I found a problem with the Censor table, for some reason it only supports up to a max of around 337 entries and then it displays a security error when adding more than that...Is this a bug? I have more words to add about another 100 or so. No errors in the server error logs either.

    Capture.PNG
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    How long is at after entering the text and submitting it before that error message appears?
     
  3. Noobstradamus

    Noobstradamus Member

    The error appears right away after adding the 337th entry or 336th entry. This from manually entering the censored words so I am not using a script or anything to do it.
     
  4. RoldanLT

    RoldanLT Well-Known Member

    Then what is the 337th entry?
     
  5. Chris D

    Chris D XenForo Developer Staff Member

    This is most likely caused by the PHP ini setting,

    post_max_size

    I believe there was a similar bug report recently. I can't place it right now. I remember @Mike commenting on it. I'm not sure if that led to some sort of fix, or whether it is purely a case of server configuration and limits.
     
  6. Noobstradamus

    Noobstradamus Member

    So it seems like it might be an option I need to change with my PHP configuration in that case? I would rather not have to limit the amount of censored words that I use. Or is this more so an issue with the censor table in the database?
     
  7. Brogan

    Brogan XenForo Moderator Staff Member

    I can't see anything in the code nor database which limits it.
     
  8. RoldanLT

    RoldanLT Well-Known Member

    As Deeming said, most probably post_max_size in your php.ini.
     

Share This Page