Copy link to clipboard
Copied
Hi All,
We have recently migrated to Coldfusion 9 from Coldfusion 8 and I am struggling to turn on debugging on the coldfusion adminstrator. Can anyone help with how to turn this function on please?
I have specifically thrown an error in one of my systems and all I am seeing on the web page is the following error.
If however, I run the website locally on the server... I get the following error, which is what I want to display when I am not running it locally.
The web site you are accessing has experienced an unexpected error.
Please contact the website administrator.
The following information is meant for the website developer for debugging purposes. | |||
Error Occurred While Processing Request | |||
A tag starting with 'CF' has been detected. This tag is not supported by this version of ColdFusion. Please verify your typo and try again. | |||
Unknown tag: cfsef. | |||
ColdFusion cannot determine how to process the tag cfsef because the tag is unknown and is not in any imported tag libraries. The tag name might be misspelled. | |||
Resources: Check the ColdFusion documentation to verify that you are using the correct syntax. Search the Knowledge Base to find a solution to your problem. | |||
Browser | Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0) | ||
Remote Address | ::1 | ||
Referrer | |||
Date/Time | 10-Oct-12 11:11 AM |
Copy link to clipboard
Copied
P.s
I have enabled the following in the coldfusion adminstrator, and it still doesn't show the debugging detailed error.
Enable Robust Exception Information
Allow Line Debugging
Copy link to clipboard
Copied
It's not "Allow Line Debugging" you want:t hat enables the line debugger. You want "".
Plus you might need to check which IP addresses it's enabling debug for.
--
Adam
Copy link to clipboard
Copied
Thank you for your response Adam.
I have just checked and "Enable Request Debugging Output" is checked.
In the "Debugging & Logging > Debugging IP Addresses" section I have the following IP address in there (exactly as my CF8 setup was, which showed me the output)
127.0.0.1
0:0:0:0:0:0:0:1
Do I need to put the IP address of the server in there to make it work?
Sorry, bit confused as never had to do this before.
Copy link to clipboard
Copied
Still having issues with this, if anyone could help it would be much apprciated as this is driving me insane.
Copy link to clipboard
Copied
It needs to be the IP address(es) of the machine's you're using to browse the site with. EG: if you and "Bob" both work in the office and just you want to see the debugging and Bob doesn't, you add the IP address of your machine to that list.
Or you can simply get rid of everything from the list, and all machine's will see it.
--
Adam
Copy link to clipboard
Copied
Ok so here is an update...
I have enabled the option "Enable Request Debugging Output" and removed all the IP addresses in the section "Debugging IP Addresses" and I am still not seeing the debug output on my page. I also tried adding my own IP address in there and rebooting the machine to no avail.
I am still seeing the message....
But when I run it locally I am getting....
The web site you are accessing has experienced an unexpected error.
Please contact the website administrator.
The following information is meant for the website developer for debugging purposes. | |||
Error Occurred While Processing Request | |||
A tag starting with 'CF' has been detected. This tag is not supported by this version of ColdFusion. Please verify your typo and try again. | |||
Unknown tag: CFTHISDOESNOTWORK. | |||
ColdFusion cannot determine how to process the tag CFTHISDOESNOTWORK because the tag is unknown and is not in any imported tag libraries. The tag name might be misspelled. | |||
Resources: Check the ColdFusion documentation to verify that you are using the correct syntax. Search the Knowledge Base to find a solution to your problem. | |||
Browser | Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0) | ||
Remote Address | ::1 | ||
Referrer | |||
Date/Time | 10-Oct-12 02:27 PM |
Copy link to clipboard
Copied
Is this one of these things where the web browser has a setting to show "friendly" error screens, instead of just reporting back what the web server has told it?
I can recall encountering something like this in the past..?
If it's not that... I have no bloody clue! Are you sure you're looking at the same CF server as that which you're making the settings changes to?
Do you have an onError() handler or <cferror> or global error handler in the mix?
--
Adam
Copy link to clipboard
Copied
Hi G and Adam,
This tripped me up too. There's an IIS7+ setting at play. The "Detailed errors" needs to be checked (to enable detailed errors for both local and remote requests).. Just follow the screenshots on this page: http://blogs.msdn.com/b/rakkimk/archive/2007/05/25/iis7-how-to-enable-the-detailed-error-messages-fo...
I don't think this ever made it into the CF docs, but prob should've.
HTH!,
-Aaron