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

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

Explorer ,
Nov 12, 2010 Nov 12, 2010

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!



1.6K
Translate
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

Translate
Enthusiast ,
Nov 13, 2010 Nov 13, 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?

Translate
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

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

Thanks so much for answering.

Translate
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
LATEST

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

Thank you

Translate
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

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
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

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
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

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

Translate
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