Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Disabling Debug Output

Community Beginner ,
May 20, 2008 May 20, 2008
Hey,

I am creating XML and the debug output generated by coldfusion is causing an error. I tried putting <cfsetting showdebugoutput="no"> at the top of my page and the error was still popping up. I then called up my server host and had them manually turn off the debut output, and the error was still showing up.

The obvious question is how do I know that the error is caused by Coldfusion debug output...behold the hideousness that, to my knowledge, is exclusively from that output

So two questions arise:
1) Can this output be caused by any other source? (and I've already checked all my data being inputted into the XML)
2) What can I do to get rid of this output

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

Community Beginner , May 21, 2008 May 21, 2008
Just as note, I attacked it using a different method, I just put all the information as a string, and used XMLFormat for the nodes...and this worked. There were no errors being thrown, it ran through the entire script and then threw the XML error. As for the old code, I trashed it, thanks for the input however.
Translate
LEGEND ,
May 20, 2008 May 20, 2008
the proper attribute is actually showdebugoutput, not displaydebugoutput

also check your application.cfm/cfc and make sure it is not outputting
anything that will be added to the request...


Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
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 Beginner ,
May 21, 2008 May 21, 2008
Hey thanks for the input...as you can see I noticed that I mis-typed the <cfsetting attribute and changed it in the code. I tried commenting out everything in application. cfc/cfm and just ran the script directly and recieved the same error.
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
LEGEND ,
May 21, 2008 May 21, 2008
sorry, i read the forums via ntp, so i don't get any edits...

can you post the code that creates your xml?

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
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
LEGEND ,
May 21, 2008 May 21, 2008
> 1) Can this output be caused by any other source?

Yeah... a CF error. That stuff is appeneded to any existing output before
CF displays the mark-up for the error message.

Are you sure it's not followed by an error message?

--
Adam
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 Beginner ,
May 21, 2008 May 21, 2008
LATEST
Just as note, I attacked it using a different method, I just put all the information as a string, and used XMLFormat for the nodes...and this worked. There were no errors being thrown, it ran through the entire script and then threw the XML error. As for the old code, I trashed it, thanks for the input however.
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