WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] Failed to upload file (3 posts)

  1. redrose1
    Member
    Posted 2 years ago #

    Afternoon,

    I'm have real issues with the file upload. It appears anything under 2mb will send but anything over and I get the error message failed to upload.

    My Php ini settings have been set accordingly and the code I am using for he contact form is below. Any help would greatly appreciated. Clearly there is something somewhere preventing me uploading attachments bigger than 2mb but I can't find where.

    <p>Your Name (required)
    [text* your-name] </p>

    <p>Your Email (required)
    [email* your-email] </p>

    <p>Subject
    [text your-subject] </p>

    <p>Your Message
    [textarea your-message] </p>

    <p>[submit "Send"]</p>

    [file your-file filetypes:pdf|png|jpg|jpeg| limit:20mb]

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

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 2 years ago #

    How did you setup the php.ini?

  3. redrose1
    Member
    Posted 2 years ago #

    Thanks for the response.

    I have now resolved this issue. I had placed the php.ini in the wrong area of my FTP.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic