• Hi, I’m using CF7 to upload 8 files on my page (max size for each 1,5mo). So theorically, I could upload 12mo (1,5×8). But I have an error when I upload more than 4 files… I did tests, when I upload 4 files (6mo), it works. When I upload 5/6/7/8 files, it doesn’t work.

    The problem doesn’t come from my hosting. I called them, I have 64mo max upload.

    So I’m wondering if CF7 has a global limit size, not the limit that I put for each file, but a total limit that can be set up/modify in the plugin.

    Many thanks.

    https://ww.wp.xz.cn/plugins/contact-form-7/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    So I’m wondering if CF7 has a global limit size

    No.

    See http://php.net/manual/en/features.file-upload.common-pitfalls.php

    Thread Starter tlgvt

    (@tlgvt)

    Hi, Thank you but everything is ok for my php config.

    upload_max_filesize 64M
    memory_limit 512M
    max_execution_time 300
    post_max_size 64M
    max_file_uploads 20

    Do you have other idea? Thank you.

    Here’s my code:

    <div class=”left-colvente”>
    Photo1
    [file* Photoface limit:1572864 filetypes:.jpg|.png|.jpeg|.pdf]
    Photo2
    [file Photoback limit:1572864 filetypes:.jpg|.png|.jpeg|.pdf]
    Photo3
    [file Photoright limit:1572864 filetypes:.jpg|.png|.jpeg|.pdf]
    Photo4
    [file Photoleft limit:1572864 filetypes:.jpg|.png|.jpeg|.pdf]
    </div>
    <div class=”right-colvente”>
    Photo5
    [file PhotoDes limit:1572864 filetypes:.jpg|.png|.jpeg|.pdf]
    Photo6
    [file PhotoDe limit:1572864 filetypes:.jpg|.png|.jpeg|.pdf]
    Photo7
    [file PhotoAut limit:1572864 filetypes:.jpg|.png|.jpeg|.pdf]
    Photo8
    [file PhotoOther limit:1572864 filetypes:.jpg|.png|.jpeg|.pdf]
    </div>

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    But I have an error when I upload more than 4 files

    What error do you see?

    Thread Starter tlgvt

    (@tlgvt)

    “Failed to send your message. Please try later or contact the administrator by another method.”

    [Moderator Note: No bumping, thank you.]

    hey tlgvt, can you show the code you use for handling the file upload?

    Thread Starter tlgvt

    (@tlgvt)

    Hi leqqis,

    This is my code:

    <div class=”left-colvente”>
    Photo1
    [file* Photoface limit:1572864 filetypes:.jpg|.png|.jpeg|.pdf]
    Photo2
    [file Photoback limit:1572864 filetypes:.jpg|.png|.jpeg|.pdf]
    Photo3
    [file Photoright limit:1572864 filetypes:.jpg|.png|.jpeg|.pdf]
    Photo4
    [file Photoleft limit:1572864 filetypes:.jpg|.png|.jpeg|.pdf]
    </div>
    <div class=”right-colvente”>
    Photo5
    [file PhotoDes limit:1572864 filetypes:.jpg|.png|.jpeg|.pdf]
    Photo6
    [file PhotoDe limit:1572864 filetypes:.jpg|.png|.jpeg|.pdf]
    Photo7
    [file PhotoAut limit:1572864 filetypes:.jpg|.png|.jpeg|.pdf]
    Photo8
    [file PhotoOther limit:1572864 filetypes:.jpg|.png|.jpeg|.pdf]
    </div>

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

The topic ‘File uploading’ is closed to new replies.