kfrey12
Member
Posted 4 months ago #
I have an 6 upload fields set up on a form on my website. When I submit the form with no attachments it submits just fine and I get the email immediately. When I try to attach files (even all 6 at once), if each of the files is under 1.9mb the form submits just fine with all of the attachments, but if even 1 of the files is more than 1.9mb, the form hangs indefinitely and the email is never sent. Anybody have any ides?
http://wordpress.org/extend/plugins/contact-form-7/
Gabor Javorszky
Member
Posted 3 months ago #
It is probably a setting in your php configuration. Create a new file, like a.php, and put this in the file:
<?php
phpinfo();
?>
And then look for a line that says upload_max_filesize. If it says 2M, then php is restricted to deal with files smaller than 2M. To change that, go to your php.ini or call / email your hosting provider.
kfrey12
Member
Posted 3 months ago #
Thanks but I already checked all of my server and php config settings and none of them would be preventing the upload from working.
T Klein
Member
Posted 3 months ago #
can you copy and paste your settings?
kfrey12
Member
Posted 3 months ago #
[List moderated. Please use the pastebin]
Gabor Javorszky
Member
Posted 3 months ago #
I got the reply in the email, although for some reason it's not here... So php.ini should be okay.
Try adding this into your functions.php file near the top.
if(is_admin()) { ini_set('display_errors',1); }
and then try to upload the files. Hopefully that will spill out whatever's wrong.