• Resolved viagozo

    (@dudematters)


    Hi,

    Great plugin! I’ve encountered an strange thing however. If I define a max file size in an upload field like [file file1 limit:5mb] in the database it is not recognised anymore as a blob (if I upload a 2.6mb JPG file). The file column states [Null]. If I leave out the limit:5mb it is recognised as a blob and the image is stored. How can I make this work? I need to allow files to 5mb.

    https://www.ads-software.com/plugins/contact-form-7-to-database-extension/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter viagozo

    (@dudematters)

    Anyone has a answer to this?

    Plugin Author Michael Simpson

    (@msimpson)

    After you submit, does the email that you receive from CF7 have the file attached?

    Thread Starter viagozo

    (@dudematters)

    Hi Micheal,

    Just tested that and yes, in the mail they are attached.

    Thread Starter viagozo

    (@dudematters)

    Hi Micheal, can you please inform me why the (large) files are not marked as blob or inserted in the database? I need to finish a solution and this is the only think stopping me, as the attachments are important to us.

    Plugin Author Michael Simpson

    (@msimpson)

    I’ll see if I can duplicate the issue.

    Plugin Author Michael Simpson

    (@msimpson)

    I haven’t been able to duplicate the situation where a CF7 form successfully submits with an email generated including a file attachment, yet there is no file saved in CFDB.

    Thread Starter viagozo

    (@dudematters)

    So if I understand correct you are saying that the (large) file is stored in the CFDB?
    Perhaps I have something wrong set in the form? Can you show me what you did?

    Plugin Author Michael Simpson

    (@msimpson)

    I created a form in Contact Form 7:

    [file file1 limit:5mb]
    
    <p>[submit "Send"]</p>

    I put the shortcode for it on a post. Then I submitted files from that post.

    Large files are stopped by Contact Form 7, giving me an error message in the web page (CFDB is not triggered).

    Thread Starter viagozo

    (@dudematters)

    Hi Michael,

    I’ve got it working, I was using a older version of the plugin, with the latest version it works very well. Thank you for your help.

    Plugin Author Michael Simpson

    (@msimpson)

    Please only post support questions for the latest version.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘File upload file not blob in DB’ is closed to new replies.