Skip to main content
Inspiring
May 21, 2008
Answered

Disabling Debug Output

  • May 21, 2008
  • 2 replies
  • 924 views
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
    This topic has been closed for replies.
    Correct answer Casatap
    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.

    2 replies

    Inspiring
    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
    CasatapAuthorCorrect answer
    Inspiring
    May 22, 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.
    Inspiring
    May 21, 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/
    CasatapAuthor
    Inspiring
    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.