• Using Contact Form 7 v3.2.1 and am having trouble with the file upload feature. I have successfully uploaded a file 3.2mb in size, receive the email with attachment, and can see the file in my directory.

    I tried uploading a file of 8mb in size and there is a constant spinning wheel next to the send button. I do, however, see the file in my directory but receive no email.

    When i try uploading a file of 10mb+ in size, I also only see the spinning wheel but the file is not in my directory.

    I have set up a php.ini file my root directory with:
    max_execution_time = 240
    ?memory_limit = 200M
    ?post_max_size = 100M?
    upload_max_filesize = 20M

    The host (1and1) claims of 50mb upload max and 75mb email attachment max. I have tried emailing myself to a gmail account from my domain email with a file size of 17.5mb with success.

    The (private) page the form is set up on is https://www.barsnbeatsrecording.com/promotions. File types allowed are .mp3 .wav .jpg .psd with 20mb limit.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter smoothdj

    (@smoothdj)

    I have contacted the host and they confirmed that my php.ini file was correctly written, located in my wp-content folder, with their default max values:
    max_execution_time = 5000
    ?memory_limit = 40M
    ?post_max_size = 8M?
    upload_max_filesize = 40M

    The same problem occurs:
    Up to 4mb – Everything works as it should
    Up to 8mb – Spinning wheel, file uploads to temp folder, no email
    Over 8mb – Spinning wheel, file does not upload and no email

    I thought that the 8m post max could be causing an issue but then i should still be receiving the email and get a validation message.

    Thread Starter smoothdj

    (@smoothdj)

    Ok now I’m completely lost. I deleted the php.ini file off of my server and I’m still getting the same results. My brain is officially fried.

    Where does the php.ini file need to be exactly? I have placed it everywhere and can’t get anything over 4mb to upload successfully and send an email. If i upload it into the wpcf7_uploads folder, it is gone when i try and upload something else. If i change the location of uploads in my WP media settings, some images on the site are no longer there.

    Thread Starter smoothdj

    (@smoothdj)

    I have now made sure that the php.ini is in the correct directory. This allows larger files to now be uploaded but I am still not receiving an email with any file larger than 4mb.

    Up to 4mb – Everything works as it should
    Up to 8mb – Spinning wheel, file uploads to temp folder, no email
    Over 8mb – Spinning wheel, file uploads to temp folder, no email

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Contact Form 7] File Upload Error’ is closed to new replies.