Max File size is not working, no error message and blank email is sent

Resolve CF form sending blank emails when file upload exceeds size limit.

Overview

The issue occurs when a file exceeds the PHP server's maximum upload size, causing the CF upload action to process no file data and send an empty email without triggering an error.
Adjust the PHP configuration settings, specifically increasing the upload_max_filesize and post_max_size values, to match or exceed the CF form's maximum file size setting.

Answered
et etolosa 13 Mar, 2016
HI,
I having a problem if a file is bigger than max file size allowed to uploads. It is working well with small files.

After upload the big file, no error message is displayed and the email is sent with blank information in all the fields.

It seems that the on fail event loop is not working.
And also i am having the same problem with the demo form :
demo-file-upload - simple file upload form with email attachment
If i choose a big file, no error message is shown, and i got a blank email.

Any idea what is happening?

Joomla is 3.4.0
Chronoform is 5.9
Gr GreyHead 13 Mar, 2016
Hi etolosa,

This is probably because the max_file_size setting in your PHP configuration isn't allowing the file to be uploaded. In that case the ChronoForms Files Upload action doesn't know that there is a file to process so won't fail.

Bob
et etolosa 31 Mar, 2016
Answer
Fixed! Thankyou so much. We had to change some values in PHP configuration.
This topic is locked and no more replies can be posted.