• Resolved majaid

    (@majaid)


    I am getting this error message when trying to upload a file.

    mod_fcgid: stderr: PHP Warning: copy(/Domain File Directory here/wp-content/uploads/cfdb7_uploads/1586626094-bg.png): failed to open stream: No such file or directory in /Domain File Directory here/wp-content/plugins/contact-form-cfdb7/contact-form-cfdb-7.php on line 105, referer: https://Domain Name here/contact/

    All I see in the email is the file name but no link.

    Contact Form 7 Version 5.1.7
    WordPress 5.4
    Divi theme
    Contact Form CFDB7 Version 1.2.4.8
    No other plugins installed

    Thanks,
    Barry

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

    (@takayukister)

    Here is the support forum for the “Contact Form 7 Database Addon – CFDB7” plugin – https://www.ads-software.com/support/plugin/contact-form-cfdb7/

    Thread Starter majaid

    (@majaid)

    Thanks for the link Takayuki.
    I have disabled the CFDB7 plugin.
    Is there any reason why the email from CF7 does not contain the file upload link? All it shows in the email is the file title.
    Here is the code in the Form section:

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

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

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

    <label> Upload File
    [file file-upload filetypes:jpg|jpeg|gif|png] </label>

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

    [submit “Send”]

    Here is the code in the Mail section (message body):

    From: [your-name] <[your-email]>
    Subject: [your-subject]

    File Uploaded: [file-upload]

    Message Body:
    [your-message]

    Here is what I get in the email:

    From: Email address removed
    Subject: Test Message

    File Uploaded: 92520094_506699343334380_1250659567101018112_n.jpg

    Message Body:
    Test

    Thread Starter majaid

    (@majaid)

    Forgot to mention that there are no errors in my logs.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘File Upload Error’ is closed to new replies.