Steve
Steve

Reputation: 3095

CF2018 (HF7) IIS / W2K16 - cfoutput in email templates is not rendering

We have 3 servers – production (CF2016 HF4), staging (2018.0.07.316715) and I have a local install on my Windows 10 desktop (2018.0.07.316715).

All were setup following the lockdown guide.

We have thousands of e-mail templates stored as .htm files which are included as a cfinclude or savecontent in cfmail. The .htm files generally have a few cfoutputs and several cfincludes that bring in other pieces of templates.

On staging, none of the CF in the templates are working. Includes are skipped and output is just #output#.

Permissions seem the same on folders, so I’m thinking this may have something to do with an IIS handler or mapping to Jakarta issue, but I'm not sure where to start to troubleshoot this one.

Upvotes: 1

Views: 68

Answers (1)

Steve
Steve

Reputation: 3095

In CF2018 Admin on the Settings page is a list of file extensions that are allowed to be included using cfinclude. Somewhere between install dates of these servers the default of CFM, CFML, HTM, HTML was changed to just CFM, CFML. Adding HTM and HTML into the problematic server fixed that issue.

Upvotes: 2

Related Questions