• Resolved schnuffi

    (@schnuffi)


    Hi there,
    I tried to use your fine pluign, but am not able to submit files bigger than 2MB, even before submitting the email. As long as I drop a file (or select it from my computer’s harddrive) less than 2MB, everything seems to work, but when this limit is exceeded, the file seems to upload, a few seconds after the progress bar reaches 100%, I get the message ‘the upload failed for some reason’. This happens even without limiting file size or count. I allow to upload ZIP, JPG, PDF, DOC, DOCX, but it’s the same problem with any type.

    My code is as simple as that:

    <label>Anschreiben, Lebenslauf, Zertifikate, Zeugnisse etc.
    [mfile Dateien filetypes:zip|jpg|pdf|doc|docx] </label>

    Could there be some limitation on the server, of which I don’t know?

    Any help greatly appreciated!
    Thank you Christian

    The page I need help with: [log in to see the link]

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

    (@glenwpcoder)

    Hello @schnuffi ,

    I think it’s server issue, can you try and upload 5MB file on your WP media library? and please confirm if you can upload or not.

    Glen

    Thread Starter schnuffi

    (@schnuffi)

    THX Glen for your quick response!
    And you were absoltutely right: even my WP media upload was limited to 2MB. So I changed limits in php.ini to 10MB and it works like a charm now!

    But there is a second question now: uploaded files are temporarily stored in /wpcontent/uploads/wp_dndcf7_uploads folder. They seem to be deleted out of there, when the form was sumbitted. What happens, if the form is not subimmted, but there were uploaded files attached to it (which wasn’t manually delete from the form before leaving the page)? Will they reside in the folder forever? Or is there any possibility to get rid of them?

    Thanx again for your great plugin and support!
    Christian

    Plugin Author Glen Don Mongaya

    (@glenwpcoder)

    Hello @schnuffi

    There’s a script that will run and files will be automatically deleted even the form not submitted.

    Glen.

    Thread Starter schnuffi

    (@schnuffi)

    THX again – when will this script be started? After some minutes…, at the end of the day…, periodically?

    Plugin Author Glen Don Mongaya

    (@glenwpcoder)

    Files older than 1 hour will be deleted.

    Thread Starter schnuffi

    (@schnuffi)

    Ah, that sounds good!
    Thanx a lot, I mark this thread as resolved now!
    Bye and regards Christian

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Uploads bigger than 2MB fail’ is closed to new replies.