I am having an issue with the file upload validation. I set it to validate the size of a file so that nothing larger the 5MB can be uploaded and it must be a pdf. However, when I test and try to submit a file larger then 5MB, it doesn't give me an error as configured and instead doesn't submit the form and then send me to the thank you message with an error that the email recipient field isn't filled out. Any suggestions?
Forums
File upload Validation Issue
Hi mkusens,
All the settings there look OK so I wonder if there's an error in the PHP uploading to the temp folder - perhaps because the server upload limit is less than 5Mb??
Please drag a Debugger action into the On Submit event, then submit the form and post the debug results here.
Note: if you are using the Easy Wizard you can turn on Debug on the Others tab.
Bob
All the settings there look OK so I wonder if there's an error in the PHP uploading to the temp folder - perhaps because the server upload limit is less than 5Mb??
Please drag a Debugger action into the On Submit event, then submit the form and post the debug results here.
Note: if you are using the Easy Wizard you can turn on Debug on the Others tab.
Bob
Hi!
I have the same problem. The debbug result:
Data Array:
Array
(
[option] => com_chronoforms
[chronoform] => PruebaUpload
[event] => submit
[Itemid] =>
)
Validation Errors:
Array
(
)
But i noticed thath php error log shows
[Fri Dec 14 17:01:28 2012] [error] [client 127.0.0.1] PHP Warning: POST Content-Length of 13236897 bytes exceeds the limit of 8388608 bytes in Unknown on line 0, referer: http://localhost/instalacion17/index.php?option=com_chronoforms&chronoform=PruebaUpload
Can you help me?
I have the same problem. The debbug result:
Data Array:
Array
(
[option] => com_chronoforms
[chronoform] => PruebaUpload
[event] => submit
[Itemid] =>
)
Validation Errors:
Array
(
)
But i noticed thath php error log shows
[Fri Dec 14 17:01:28 2012] [error] [client 127.0.0.1] PHP Warning: POST Content-Length of 13236897 bytes exceeds the limit of 8388608 bytes in Unknown on line 0, referer: http://localhost/instalacion17/index.php?option=com_chronoforms&chronoform=PruebaUpload
Can you help me?
Hi GMG27,
Hard to say, it's a PHP Warning (not an error). It's probably telling you that the file is bigger than the limit set in your php.ini file. So you should check that.
I also don't see any sign on an Upload Files action in the Debugger output. Do you have one in your form?
Bob
Hard to say, it's a PHP Warning (not an error). It's probably telling you that the file is bigger than the limit set in your php.ini file. So you should check that.
I also don't see any sign on an Upload Files action in the Debugger output. Do you have one in your form?
Bob
This topic is locked and no more replies can be posted.