Wednesday, May 1, 2013

Re: Is there any way to display error when working on ajax request?

use debug and tail the debug.log file.

On Wednesday, February 9, 2011 12:43:42 PM UTC-6, cake-learner wrote:
I set up one class to handle all ajax request called ajax_controll.
The thing is everytime I develop a function and there is some kind of
syntactic errors it returns empty. Usually take a couple of hours to
develop
one simple query because of this. Is it anyway to spit out the php
error on
browser( maybe there is firebug plugin? )

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: