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 GPL3,0Template/admin/cfc/admin.cfcTime
stamp06-Dec-13 07:23 AMLocaleEnglish (United States)User AgentMozilla/5.0
(Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/30.0.1599.101 Safari/537.36Remote IP192.168.111.248Host 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.