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

Discussion in 'Troubleshooting and Problems' started by ForexTalk, Aug 6, 2016.

  1. ForexTalk

    ForexTalk Member

    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.
     
  2. Solidus

    Solidus Well-Known Member

    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
     
  3. ForexTalk

    ForexTalk Member

    It worked! Thank Solidus.
     
  4. Snog

    Snog 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
     

Share This Page