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

XF 1.2 Security error when uploading largish attachment?

Discussion in 'Troubleshooting and Problems' started by Liam W, Jul 16, 2013.

  1. Liam W

    Liam W Well-Known Member

    I'm trying to make a thread with a 25MB attachment. The file uploads, but when it finishes I get an overlay stating a security error occurred.

    This has happened the last few times.

    Any ideas why and any ideas as how to fix it?
  2. Liam W

    Liam W Well-Known Member

    It just worked for a file between 5-6MB...
  3. Mike

    Mike XenForo Developer Staff Member

    kontrabass likes this.
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Do you have suhosin installed (hardened PHP)? Suhosin can truncate requests when limits are exceeded which can cause a security error like this if the token is truncated. Otherwise you would normally get an error saying what limit has been exceeded.
  5. Liam W

    Liam W Well-Known Member

    It's working now, thankfully.

    I think it may have been the max post size? It was set to 8MB :/

    Also, you get a different uploading screen sometimes...
    kontrabass likes this.

Share This Page