Hello,
I am setting up a simple form where you can fill out some information and attach a file. When you fill out the form, it's suppose to send an email with the information and file attached. When I attach a photo, it works fine. The email sends with all the form entries and the file attached. However, when I do the same thing, but with a video, it doesn't work. I receive the email as soon as I hit submit, but the email has no attachment and the form fields are not filled out, even though they were filled out on the form.
http://bestdogwheelchairs.com/index.php?option=com_chronoforms&chronoform=testimonialupload This is the form.
Why is it breaking when I try to send a video. The file types are allowed and the max size is far above what I was trying to upload.
Thanks,
~ Mike
I am setting up a simple form where you can fill out some information and attach a file. When you fill out the form, it's suppose to send an email with the information and file attached. When I attach a photo, it works fine. The email sends with all the form entries and the file attached. However, when I do the same thing, but with a video, it doesn't work. I receive the email as soon as I hit submit, but the email has no attachment and the form fields are not filled out, even though they were filled out on the form.
http://bestdogwheelchairs.com/index.php?option=com_chronoforms&chronoform=testimonialupload This is the form.
Why is it breaking when I try to send a video. The file types are allowed and the max size is far above what I was trying to upload.
Thanks,
~ Mike
Hi Mike,
Have you checked that the PHP settings allow file uploads as big as 100Mb?
Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.
Note: if you are using the Easy Wizard you can turn on Debug on the Others tab.
Bob
Have you checked that the PHP settings allow file uploads as big as 100Mb?
Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.
Note: if you are using the Easy Wizard you can turn on Debug on the Others tab.
Bob
Data Array:
Array(
[option] => com_chronoforms
[chronoform] => testimonialupload
[event] => submit
[Itemid] =>
[_PLUGINS_] => Array(
[upload_files] => Array()
)
)
Validation Errors:
Array(
[chrono_verification] => You have entered a wrong verification code!
)
Debug Data
email
1
Result
An email has been SENT successfully from (HandicappedPets.com)messages@handicappedpets.com to mike@handicappedpets.com
Body
Choose a File {input_file_2}
Name {name}
Email {email}
Dog/Pet's Name {petname}
Dog/Pet's Breed {petbreed}
Your Comments/Testimonial
{comments}
Submitted by 173.13.79.81
Attachments array ( )
Core Captcha Couldn't find the captcha field value in the $_POST array!
Hi Mike,
Hmmm... there is no data from any of the form inputs there, only from the URL. It looks as though there may be some redirection taking place and the POST data is being lost.
Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.
Bob
Hmmm... there is no data from any of the form inputs there, only from the URL. It looks as though there may be some redirection taking place and the POST data is being lost.
Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.
Bob
Thanks, I have posted the backup here on this post.
Hi Mike,
I got the same problem and couldn't work out what is happening. I don't think that it is a ChronoForms problem - if I add a Custom Code action to the start of the On Submit event with this code
After some Googling and checking settings I changed the post_max_size setting in my PHP.ini file and that seems to have fixed it. I can now upload a 75Mb video OK.
Bob
I got the same problem and couldn't work out what is happening. I don't think that it is a ChronoForms problem - if I add a Custom Code action to the start of the On Submit event with this code
<?php
echo'<div>$_FILES: '.print_r($_FILES, true).'</div>';
?>
it shows me the PHP files array for the upload and this is empty for video files. After some Googling and checking settings I changed the post_max_size setting in my PHP.ini file and that seems to have fixed it. I can now upload a 75Mb video OK.
Bob
What did you set the post_max_size setting size to? Mine is currently set to 100MB.
This topic is locked and no more replies can be posted.