WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] I cannot upload more than 20 files (3 posts)

  1. RosaAdl
    Member
    Posted 1 year ago #

    Hi,

    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,

    Rosa

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

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

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

  3. RosaAdl
    Member
    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic