Can this option be applied to both Components and specific functions? I noticed some people put it after their component declaration and only use it once per cfc. Others use it when declaring each individual function.
On Fri, Dec 6, 2013 at 2:15 PM, Jason King <[email protected]> wrote: > Nope, but I will now! Thanks. > > > On Fri, Dec 6, 2013 at 1:52 PM, Alan Holden <[email protected]> wrote: > >> Have you tried this tag within the file? >> <cfsetting showdebugoutput="false" /> >> >> >> >> On 12/6/2013 11:45 AM, Jason Allen wrote: >> >> I had a funny issue where any of my ajax/json based scripts were working >> fine EXCEPT on my development server. At first I thought maybe it was a >> security setting, but after working on that, I realized ajax/json was >> working fine on other sites. >> >> Long story short, my concluded my code was fine. Along with that, I >> became suspicious of the returned JSON and that maybe it had to do >> something with it coming from inside the development network. >> >> What I ended up realizing is that since I had debugging enabled, any JSON >> value returned also had the entire debugging info returned with it. >> >> So rather than just getting the following (which works fine) >> >> {"error":1,"success":0} >> >> I was getting >> >> {"error":1,"success":0} >> ------------------------------ >> * Debugging Information * BlueDragon GPL 3,0 Template >> /admin/cfc/admin.cfc Time stamp 06-Dec-13 07:23 AM Locale English >> (United States) User Agent Mozilla/5.0 (Windows NT 6.1; WOW64) >> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36 >> Remote >> IP 192.168.111.248 Host Name 192.168.111.248 >> ------------------------------ >> >> >> ------------------------------------------------------------------------- >> >> Question. How can I get around this? I want to have debugging enabled and >> not have to keep turning it on/off. BUT having it on is breaking any kind >> of JSON value I get back and preventing any of my ajax based pages from >> working. >> >> Essentially 'Enabling debugging breaks ajax'. >> >> >> -- >> -- >> online documentation: http://openbd.org/manual/ >> http://groups.google.com/group/openbd?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "Open BlueDragon" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> -- >> -- >> online documentation: http://openbd.org/manual/ >> http://groups.google.com/group/openbd?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "Open BlueDragon" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- -- online documentation: http://openbd.org/manual/ http://groups.google.com/group/openbd?hl=en --- You received this message because you are subscribed to the Google Groups "Open BlueDragon" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
