• Is there any method to process server error in CF7? For example, if user upload a file with a size larger than my server allow, user will get 413 error, but CF7 can’t show this error, because response is not a valid JSON.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    See File uploading and attachment

    Why don’t you set the limit option to a value smaller than the server maximum limit?

    Thread Starter locker

    (@locker)

    Hi Takayuki! I think you don’t understand the problem. For example, I set limit to 5Mb in CF7 field, server limit is 10Mb (client_max_body_size 15M;). If user upload file with a size 15Mb, server refuse this file BEFORE php and response will be with default server error page which isn’t correct JSON, right? JS didn’t get correct response and user get infinity preloader.

    • This reply was modified 4 years, 11 months ago by locker.
    • This reply was modified 4 years, 11 months ago by locker.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Processing server errors’ is closed to new replies.