• Ankit

    (@ankitgupta25)


    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

    http://wordpress.org/plugins/contact-form-7/

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘File Upload Issue’ is closed to new replies.