Forums

Contact Form 7
[resolved] File upload: issue with files > 2MB (4 posts)

  1. babellon
    Member
    Posted 1 year ago #

    I'm using Contact Form 7 version 3.1.2, and I can't seem to get file uploads larger than 2MB working. Everything up to approximately 2MB works flawlessly. Anything larger than 2MB will cause the rotating arrow issue. My setting is:
    <p>File attachment (jpg, jpeg, png, gif, pdf, doc, docx, ppt, pptx)
    [file file-741 limit:2mb] </p>

    1) Changing the limit makes no difference (I tried 20mb, 10mb, 4mb etc). The only advantage of the limit is that the user receives an error message.
    2) If I create 2 (or more) upload forms, it will use the sum total of all the attachments, not each attachment size individually.

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

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

  3. dbaldan
    Member
    Posted 11 months ago #

    1) Check if the wpcf7_uploads folder has the proper privileges

    2) On the wpcf7_uploads folder, open the file .htaccess and put this:

    php_value session.gc_maxlifetime 10800
    php_value max_input_time         10800
    php_value max_execution_time     10800
    php_value upload_max_filesize    110M
    php_value post_max_size          120M
  4. babellon
    Member
    Posted 11 months ago #

    Thanks! I actually added a php.ini file with "upload_max_filesize = 25M" That worked :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic