XF 1.2 Security error when uploading largish attachment?

Liam W

in memoriam 1998-2020
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?

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.