WordPress.org

Support

Support » Plugins and Hacks » Contact Form 7 » [Plugin: Contact Form 7] File uploads over 1.9mb not working

[Plugin: Contact Form 7] File uploads over 1.9mb not working

  • 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/

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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.

    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

    @tklein87gmailcom

    can you copy and paste your settings?

    [List moderated. Please use the pastebin]

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Contact Form 7] File uploads over 1.9mb not working’ is closed to new replies.
Skip to toolbar