• 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?

Liam W

Well-known member
#1
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
#4
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.
 

Liam W

Well-known member
#5
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...