Support » Plugin: Contact Form 7 » I cannot upload more than 20 files

  • Resolved RosaAdl



    I am using the contact form 7 plugin to allow the users create a post with a specific format at the front end (I am not using the send email feature). The main content of the automatically created post will be a table with 24 rows (12 weeks each with two labs) where in each row I put a link to the file uploaded for that week/lab session. I have managed to get it to work but I noticed that whenever the user uploads more than 20 files the last four files will not be uploaded at all and I do not receive an error message. That means the size of the cf7->uploaded_files array is never more than 20.

    I have also tried making all the upload fields mandatory and I noticed that when I try to submit files for all of the 24 file uploads, I receive an error message telling me that I haven’t submitted a file for the last 4 upload fields.

    Has anyone tried to upload more than 20 files using this plugin?

    I would really appreciate it if anyone could help me with this.
    Here is a link to the page to upload the files: TA Website

    Thank you,


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


    It is not Contact Form 7’s restriction. Check your PHP settings, especially max_file_uploads.

    Thank you Takayuki Miyoshi.

    I think you are correct. My max_file_uploads is currently set to 20.
    I had checked my php.ini before but I was checking upload_max_filesize instead.

    Now I just need to figure out how to edit it since I do not have access to my php.ini file.

    Great plugin by the way!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I cannot upload more than 20 files’ is closed to new replies.