0

I've a site running EE 2.8.1 and the allowed filesize on the server is 512M however, if I try to upload a large PDF I receive the following error: "This form has expired. Please refresh and try again."

This error does not appear on my local, development version of the site, however I have no idea what I'd need to configure or set on the server to get this working for production.

Thanks in advance.

0

Several things to think about.

Apache: Keep-Alive Timeout should be more than 5 (2GB files is around 100)

PHP: upload_max_filesize, memory_limit, max_input_time, post_max_size

Server: your /tmp partition needs to be more more than the to uploading file. Most /tmp partitions are 512M if your file is larger it won't work. (unless you use a mac at work, mac it's /tmp is not a separate partition that's why it works)

I guess that your problem lies -> /tmp

Regards.

2
  • Thanks, I can't remember how I solved it in the end, but your answer contains some solid advice. Feb 10 '15 at 19:38
  • thanks. Just started a project that contains large files...
    – Gfive
    Feb 11 '15 at 12:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.