• Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
    Dedicated community for Japanese speakers
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
    Dedicated community for Korean speakers
Exit
0

ColdFusion 9 - Robust Error Handling Turned On - No Output Seen

Explorer ,
Nov 12, 2010 Nov 12, 2010

Copy link to clipboard

Copied

My settings in ColdFusion Administrator 9 appear the same as those I had previously on ColdFusion 7. When a page errored out on CF7, I'd see something like this;

Error Occurred While Processing Request

Variable  XFHDSHSDHJ is undefined.

The  error occurred in D:\Website Data\mywebsite.com\variabletest.cfm: line  1
1 : <cfoutput>#xfhdshsdhj#</cfoutput>


Now I see
: 404 - File or directory not found.

I don't have cferror tags in application.cfm (someone thought that was the problem).  I know you can view the errors in the application log, but I really liked having the error messsage display directly on the erroring page.

Thank you!



Views

1.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Nov 16, 2010 Nov 16, 2010

It turned out I had "Enable HTTP Status Codes" checked in the Server Settings. Once unchecked, it worked.

Thanks so much for answering.

Verlyn Ammon

Votes

Translate

Translate
Enthusiast ,
Nov 13, 2010 Nov 13, 2010

Copy link to clipboard

Copied

Do you have a site-wide error handler or missing template handler in the CF Admin? Are you providing an onMissingTemplate() event handler in the app.cfc?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 16, 2010 Nov 16, 2010

Copy link to clipboard

Copied

It turned out I had "Enable HTTP Status Codes" checked in the Server Settings. Once unchecked, it worked.

Thanks so much for answering.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 29, 2021 Jun 29, 2021

Copy link to clipboard

Copied

LATEST

I know this is very old, but it helped me.

Thank you

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 14, 2010 Nov 14, 2010

Copy link to clipboard

Copied

Try doing the settings in the Administrator once again. You never know.

On the page Debug Output Settings, tick the checkbox Enable Robust Exception Information. Press the button to Submit Changes.

On the page Debugging IP Addresses, verify that your IP (for example, 127.0.0.1) has been added. If not, add it.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 16, 2010 Nov 16, 2010

Copy link to clipboard

Copied

It turned out I had "Enable HTTP Status Codes" checked in the Server Settings. Once unchecked, it worked.

Thanks so much for answering.

Verlyn Ammon

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 16, 2010 Nov 16, 2010

Copy link to clipboard

Copied

Still, I don't think that is the proper behaviour. You should report this to the Adobe Coldfusion team.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation