Skip to main content
Participating Frequently
December 30, 2009
Question

Site-wide Error Handler issue

  • December 30, 2009
  • 2 replies
  • 2259 views

I'm having a strange one. I'm using CF 9.0, and I have a set up, with the relative path set correctly.When run-time errors occur, it is calling the template exactly as expected, except for one thing.

In addition to the error template (which shows a nice user-friendly page), I am also getting the default ColdFusion error information following.

So...error occurs, it is throwing to the error template as expected, but then also pushing out the default error page.

It does not do this on CF7 with identical code, so I am thinking that perhaps there is a setting on CF9 Administator that I'm not clicking. But search as I might, I only see the field.

Any suggestions? This is driving me batty.

    This topic has been closed for replies.

    2 replies

    Inspiring
    December 30, 2009

    Please post your code.


    ilssac
    Inspiring
    December 30, 2009

    Any possibility that the error handler page itself is throwing the error.

    If there is an error in the handler page, the handler can not handle it.  Thus a regular response is generated.

    Participating Frequently
    December 30, 2009

    ianskinner wrote:

    Any possibility that the error handler page itself is throwing the error.

    If there is an error in the handler page, the handler can not handle it.  Thus a regular response is generated.

    I thought about that, but the error displayed is the same as the error that throws it. That is, it's a

    Datasource  doesNotExist could not be found

    error, that was put into the test template intentially.

    I've attached the error handle template uncontrolled_err.cfm and the testing template cferror_test.cfm

    I also attached a screen print of what the result looks like.

    thanks!

    Inspiring
    December 30, 2009

    Where is uncontrolled_err.cfm invoked? Are you using CFERROR in an Application.cfm/ cfc file or the onError method of Application.cfc?

    Can you post the relevant code?