I am trying to "turn off" the auto messages that appear after an error. I'm using CFERROR to write a generic error warning and I'd like this to be the ONLY message the user sees when an error is thrown.
I have discovered that if I write error.generatedcontent to a hidden field (<INPUT TYPE="Hidden" NAME="H_gen" VALUE="#error.generatedcontent#">) then it turns off almost all of the internally generated messages. But I am getting a sentence fragment at the end. The line that reads:
Please inform the site administrator that this error has occurred (be sure to include the contents of this page in your message to the administrator) where "site administrator" is a link to the address set in Admin, still prints everything after "Please inform the...". In other words I get my custom error message and then "site administrator... BUT it is NOT a link.
What I get is this:
Sorry! An error occurred... [blah blah]... If you still feel you need to contact TBT's System Administration Team regarding this error, please send an email to: gkorzeniowski@thebroadcastteam.com site administrator that this error has occurred (be sure to include the contents of this page in your message to the administrator).
Does anyone know how to prevent that error message from showing up? Thanks.
[sig][/sig]
I have discovered that if I write error.generatedcontent to a hidden field (<INPUT TYPE="Hidden" NAME="H_gen" VALUE="#error.generatedcontent#">) then it turns off almost all of the internally generated messages. But I am getting a sentence fragment at the end. The line that reads:
Please inform the site administrator that this error has occurred (be sure to include the contents of this page in your message to the administrator) where "site administrator" is a link to the address set in Admin, still prints everything after "Please inform the...". In other words I get my custom error message and then "site administrator... BUT it is NOT a link.
What I get is this:
Sorry! An error occurred... [blah blah]... If you still feel you need to contact TBT's System Administration Team regarding this error, please send an email to: gkorzeniowski@thebroadcastteam.com site administrator that this error has occurred (be sure to include the contents of this page in your message to the administrator).
Does anyone know how to prevent that error message from showing up? Thanks.
[sig][/sig]