Skip to main content
Inspiring
November 12, 2010
Answered

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

  • November 12, 2010
  • 2 replies
  • 1620 views

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!



    This topic has been closed for replies.
    Correct answer storserver

    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

    2 replies

    BKBK
    Community Expert
    Community Expert
    November 14, 2010

    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.

    storserverAuthorCorrect answer
    Inspiring
    November 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

    BKBK
    Community Expert
    Community Expert
    November 16, 2010

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

    Inspiring
    November 14, 2010

    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?

    Inspiring
    November 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.

    Known Participant
    June 29, 2021

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

    Thank you