• Resolved jurgen8500

    (@jurgen8500)


    Our customer wants to allows his contacts to upload as many images as they want. Although we don’t limit the filesize and number, it seems like more than 13MB CF7 gives us and error.

    Can you help us to achieve this?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Glen Mongaya

    (@glenwpcoder)

    @jurgen8500 , may i know what is your current upload limit on wordpress->media library?

    Please include the link to your site and screenshot of Form & Mail tab settings.

    Thanks.

    Thread Starter jurgen8500

    (@jurgen8500)

    Hey Glen, thanks for the quick reply.

    On the media library the upload limit is set to 6MB.
    This is one of the site: https://verkoopnujeauto.be/

    These are the screenshots: https://we.tl/t-LONKI7Vr38

    Rgds

    Plugin Author Glen Mongaya

    (@glenwpcoder)

    Thanks @jurgen8500 , you need to adjust your server ‘max upload limit’ to allow more than 10MB file upload.

    Here’s the things you need to consider.

    1. Add limit:xxxx on [mfile] shortcode.
    example for 100MB

    [mfile upload-file-169 limit:104857600]

    104857600 – bytes equivalent to 100MB

    2. You cannot attach large files 15-25MB on email this will take time to process/attach and send. (sometimes server will timeout and contact form gives you an error)

    3. Try to use “send files(s) as link” option, it’s under Contact -> Drag & Drop Upload.

    See this guide – https://www.youtube.com/watch?v=DvuvmzIImYo&t=232s

    This will display links on email instead of attaching files on email, useful if you are accepting large file.

    Thanks, please let me know.

    Glen

    drasute

    (@drasute)

    Hey @glenwpcoder! Thanks for your plugin. Sorry to write here, I just can’t create a new topic for some reason. I have the following issue: when I’m trying to upload .zip file, the error “The uploaded file exceeds the maximum upload size of your server” occurs. Doesn’t matter what size file is, even if it’s 10kb. But at the same time there are no any problems with uploading .txt or .rar files. What could be the issue and how can I fix that? Thanks.

    Plugin Author Glen Mongaya

    (@glenwpcoder)

    @drasute , can you please include a link to your site?

    drasute

    (@drasute)

    Thanks for the quick reply!
    Sure, here you go:
    https://hand2noteguide.com/ggpoker-hh/
    It’s written only .txt but you can upload .zip as well (didn’t write for now so users won’t try it and won’t face the error)

    Plugin Author Glen Mongaya

    (@glenwpcoder)

    Thanks @drasute it’s server error.

    Can you please check you server logs if there’s any error.log or debug.log file.

    Also, try to upload zip file in your WordPress media library and see if you will encounter an error.

    drasute

    (@drasute)

    Here is what I see in debug.log

    [23-Mar-2021 00:31:35 UTC] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /home/htdocs/wp-content/plugins/drag-and-drop-multiple-file-upload-contact-form-7/inc/dnd-upload-cf7.php on line 740
    [23-Mar-2021 00:32:07 UTC] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /home/htdocs/wp-content/plugins/drag-and-drop-multiple-file-upload-contact-form-7/inc/dnd-upload-cf7.php on line 709
    [23-Mar-2021 00:34:43 UTC] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /home/htdocs/wp-content/plugins/drag-and-drop-multiple-file-upload-contact-form-7/inc/dnd-upload-cf7.php on line 709
    

    And there are no problems to upload .zip files through WordPress admin media files.

    drasute

    (@drasute)

    Ohhh I think I got the issue. It’s due to the previous changes I made in wordpress code directly. Sorry, there are no problems with your plugin. THanks for the help!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Unlimited uploads’ is closed to new replies.