Skip to main content
Inspiring
Nov 12, 2010 7:25 PM UTC
Answered

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

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 is closed to new replies. Start a new post to keep the conversation going.
    storserverCorrect answer
    Inspiring
    Nov 16, 2010 9:14 PM UTC

    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

    6 replies

    BKBK
    Community Expert
    Community Expert
    Nov 14, 2010 9:03 PM UTC

    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.

    Translate
    storserverAuthorCorrect answer
    Inspiring
    Nov 16, 2010 9:14 PM UTC

    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

    Translate
    BKBK
    Community Expert
    Community Expert
    Nov 16, 2010 9:19 PM UTC

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

    Translate
    Inspiring
    Nov 14, 2010 1:06 AM UTC

    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?

    Translate
    Inspiring
    Nov 16, 2010 9:13 PM UTC

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

    Thanks so much for answering.

    Translate
    Known Participant
    Jun 29, 2021 3:15 PM UTC

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

    Thank you

    Translate