• 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. "


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:

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

Thank you.


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

php_value upload_max_filesize 80M
php_value post_max_size 80M


Well-known member
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