WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
File uploads over 1.9mb not working (6 posts)

  1. kfrey12
    Member
    Posted 2 years 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/

  2. Gabor Javorszky
    Member
    Posted 2 years 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.

  3. kfrey12
    Member
    Posted 2 years 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.

  4. T Klein
    Member
    Posted 2 years ago #

    can you copy and paste your settings?

  5. kfrey12
    Member
    Posted 2 years ago #

    [List moderated. Please use the pastebin]

  6. Gabor Javorszky
    Member
    Posted 2 years 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic