The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Contact Form 7
File Upload Issue (7 posts)

  1. Ankit
    Posted 2 years ago #

    Hello Guys,

    I've used Contact form 7 on my site but I am facing some issue in file upload section. Normal upload (say upto 10mb) is okay but on larger file upload, contact form upload function fails. I've changed the limit to "limit:62914560" and tried giving limit in MegaBytes as well.

    Below is the form file upload snippet:
    [file file-01 limit:62914560 filetypes:jpg|jpeg|png|gif|pdf|doc|docx|ppt|pptx|odt|avi|ogg|m4a|mov|mp3|mp4|mpg|wav|wmv|xls|xlsx|indd|zip]

    I checked the phpinfo file also and found "upload_max_filesize" to be 100M while "max_execution_time"'s local value is =300 and master value is 30.

    When I upload file, if contact form 7 scripts are enabled, ajax loader keeps on revolving while in case of scripts off "define('WPCF7_LOAD_JS', false);", it shows upload till 100% and then blank page comes out and no mail comes in my mail box. (I tried 15mb and 45mb file). I tried various servers, warnings/errors were different on different servers but there was no solution.

    Can you tell me what I am lacking? I tried and searched a lot to solve it but all I got was suggestion to increase the upload limit, what I have already done. I've uploaded it on test server. Please check it and let me know what I am missing.

    Link: http://dir2me.com/test/test/begar-en-offert/
    Username: admin
    Password: pass@123


  2. Takayuki Miyoshi
    Plugin Author

    Posted 2 years ago #


    Please do not post passwords even if it's a test site.

  3. Easy Web Scripts
    Posted 2 years ago #

    I cannot seem to get the file upload to show at all?

    I have placed the:

    <p>[file file-887] <p>
    <p>[file file-816]</p>

    Into the form, and also in the File attachments:


    But nothing? Where did I go wrong?

  4. Easy Web Scripts
    Posted 2 years ago #

    actually, it is there if you click around a bit, but, you cannot see it.

  5. wer0ckz
    Posted 2 years ago #

    Hi Easy Web Scripts.

    Are you still having issues with the file upload? If so, please provide us a screenshot on your end so that we can replicate the issue on our end.

    I tried the upload option on my end and it works just fine. Please see my screenshot: http://screencast.com/t/m1VhETVO6mS

    Which theme are you using? If it's possible, try to change theme just to check if there's any difference on the file upload.

    Let us know if you have further questions.


  6. Easy Web Scripts
    Posted 2 years ago #

    Hello And thankyou.

    The screenshot can be seen here:


    There is no submit button or upload button

    Template is:


  7. Takayuki Miyoshi
    Plugin Author

    Posted 2 years ago #

    Easy Web Scripts and wer0ckz, this is a topic opened by the original poster, Ankit. It is rude to hijack someone else's thread and start off-topic conversation. Please start your own topic, if you want to continue it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic