Saturday, July 2, 2011

Re: Getting CakePHP to return a 50x HTTP response when an un-handled exception occurs

i have similar problems with an incorrect status code for MYSQL errors
http://groups.google.com/group/cake-php/browse_thread/thread/70b6a8b241ab0948#

seems like there is a lot to do concerning correct response codes


On 30 Jun., 14:37, lsiden <lsi...@gmail.com> wrote:
> I am writing a CakePHP (cakephp.org) controller. One of the actions,
> "myAction", responds to AJAX requests. I find it annoying that if
> anything goes wrong in the action handler, Cake always responds with
> an error page and an HTTP status of 200, meaning that it fails
> silently, so I have to open a new window and run the AJAX request
> directly from the address bar to see the output and find out what went
> wrong.
>
> Please see my question to StackOverflow.com for the rest of the
> details:http://stackoverflow.com/questions/6529588/getting-cakephp-to-return-...

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


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

No comments: