Skip to content

Instantly share code, notes, and snippets.

@adamcameron
Created September 7, 2021 20:54
Show Gist options
  • Save adamcameron/b6c4101a6962aac5e280d59ffcf73f62 to your computer and use it in GitHub Desktop.
Save adamcameron/b6c4101a6962aac5e280d59ffcf73f62 to your computer and use it in GitHub Desktop.
Version using Application.cfm and cferror
<cferror template="./outputError.cfm" type="request">
<cfset emailname = len(ediDetails.firstname) ? ' ' & ediDetails.firstname : emailname = ''>
he web site you are accessing has experienced an unexpected error.
Please contact the website administrator.
The following information is meant for the website developer for debugging purposes.
Error Occurred While Processing Request
Invalid CFML construct found on line 1 at column 87.
ColdFusion was looking at the following text:
=
The CFML compiler was processing:
A cfset tag beginning on line 1, column 2.
<cfinclude template="./brokenInclude.cfm">
Invalid CFML construct found on line 1 at column 87. ColdFusion was looking at the following text:
=
The CFML compiler was processing:
A cfset tag beginning on line 1, column 2.
The error occurred on line 1.
<p>#error.diagnostics#</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment