Sunday, April 26, 2009

Debug Ajax

For some odd reason i cant see the debug for any of my Ajax requests. It used to work now it just stopped.
 
config file  debug = 2
 
app_controller
if ($this->RequestHandler->isAjax() || $this->RequestHandler->isXml()) {
              Configure::write('debug', 2);
          }
 
even tried adding
if ($this->RequestHandler->isAjax() || $this->RequestHandler->isXml()) {
              Configure::write('debug', 2);
          }
 
to the actions being called for the ajax and still no output.
 
Ideas?
 
Dave

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: