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

XF 1.5 Error: "ecurity error occurred. Please press back, refresh the page, and try again. "

#1
Hello,

My forum is new install with no add-on, the upload size limit is 80MB. When I upload a test file, with .rar or .zip extention, test file size around 10MB, it always return error:

Error.jpg
Small images upload is fine. Can you please let me know what is wrong?

Thank you.
 

Solidus

Well-known member
#2
Check post_max_size and upload_max_file_size in php.ini. Or you can try something like this in .htaccess,

Code:
php_value upload_max_filesize 80M
php_value post_max_size 80M
 

Snog

Well-known member
#4
Be careful with that. In general...
memory_limit should be greater than post_max_size
post_max_size should be greater than upload_max_filesize