Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Local File Attachment stopped working

$
0
0

Replies: 0

I run WordPress on an IIS server. I have several contact forms setup to email free reports from my website. They all used to work, and the path I used was an absolute path to a folder off the root of my C drive.

I recently discovered that the reports weren’t going out with the emails anymore. When I checked the the content forms the error was that I was specifying files outside of the WP-CONTENT directory, which is true, the folder that I kept my reports in was not in the WP-CONTENT directory.

I moved my reports to the WP-CONTENT directory and updated the info in the FILE ATTACHMENTS box to just file_name.pdf, but when I do that CF7 says “It is not allowed to use files outside the wp-content directory”.

Is there something special about specifying file names and / or paths on an IIS implementation of CF7?


Viewing all articles
Browse latest Browse all 59525

Trending Articles