• We need for visitors to have the option to attach photos when submitting a road complaint. We have followed the instructions in the guide, where we are using the form tag <label> Attachments – 2MB Limit (optional) [file your-file filetypes:pdf|png|jpeg|jpg limit:2mb]</label> on the form and the following mail tag [your-file][your-another-file] in the Mail > File attachments filed as shown in this article: https://contactform7.com/file-uploading-and-attachment/

    When the attachment was loading in the form, with these same settings not an hour prior to submitting this to the forum, the email would not send with the attachments. No it wont load to the form nor will it send the email.

    We have added the a folder named wpcf7_uploads directory to the wp-content/uploads/ directory and have ensure that the permissions for the entire path are writable. We have added the following line to our wp-config.php file: define( ‘WPCF7_UPLOADS_TMP_DIR’, ‘/wp-content/uploads’ );

    I’m not sure what I am missing. Any feedback or recommendations?

    • This topic was modified 5 years, 2 months ago by webwiza2.
    • This topic was modified 5 years, 2 months ago by webwiza2.

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter webwiza2

    (@webwiza2)

    If I remove the label tags and field title surrounding the attachment tag, it will show the file on the form after I attach the file to the form, but when I submit it gives this message, “There was an unknown error uploading the file.” If i remove the attachment line all together so that visitors do not have the option to attach photos, it sends the email without issue. But I need for them to be able to upload photos, so any advise leading me in the right direction would be greatly appreciated.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Where on the site do you have the form having the issue?

    Thread Starter webwiza2

    (@webwiza2)

    link on the right sidebar titled SUBMIT ROAD COMPLAINT

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    What other plugins and theme do you use on the site?

    Thread Starter webwiza2

    (@webwiza2)

    ACTIVE PLUGINS:
    Accordion Shortcodes
    Auto iFrame
    Contact Form 7
    Disable Comments
    Easy Custom Sidebars
    Fast Secure Contact Form
    File Away
    Flexible Modals
    Image Widget
    Open External Links in a New Window
    ReCaptcha v2 for Contact Form 7
    TablePress
    Tabs Responsive
    Tabs Shortcode And Widgets
    Widget Content Blocks
    Widgetize pages Light
    WP Private Content Plus

    THEME
    Dandelion

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Try switching to the default theme and deactivating all plugins excluding Contact Form 7.

    Why you are advised to deactivate plugins and switch to the default theme.

    Thread Starter webwiza2

    (@webwiza2)

    Okay, i’ll get back to you with the results as soon as i can do that. I have to work now from 1000AM-0100PM EST. So it will be after 1PM EST today. Thank you

    Thread Starter webwiza2

    (@webwiza2)

    It will be about 5PM your time before I’m off work. Sorry for the delay.

    Thread Starter webwiza2

    (@webwiza2)

    I disabled all the plugins that the sidebar and links were not relying on, should this form be displaying on a page? Because I have it loading as a modal. That modal is then loaded into a table which is loaded onto the sidebar. Should I find a way to elevate all the middle pieces (the modal and table plugins etc)?

    Thread Starter webwiza2

    (@webwiza2)

    okay, i took it out of the table and out of the modal so that it loads on the sidebar out right upon loading the site and i still get the same issue

    Thread Starter webwiza2

    (@webwiza2)

    Is this the extent of your support – drop a one liner and you’re gone without resolution??? its been over 2 weeks . . .

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘attachments & sending email’ is closed to new replies.