Re: [symfony-users] return redirect() breaks the code ?

2010-03-30 Thread Rafael Barbosa
The very last thing the redirect() method does is throw a sfStopException that's why it goes all the way through try AND catch. On Tue, Mar 30, 2010 at 12:14 PM, NOOVEO - Christophe Brun c.b...@nooveo.fr wrote: I want to catch some exceptions in my actions and to display nice and informative

Re: [symfony-users] xhr and REST

2010-03-02 Thread Rafael Barbosa
change this: *content: {sf_format: 'delete'},* to this: *content: {sf_method: 'delete'},* On Tue, Mar 2, 2010 at 7:34 PM, Donald chekot...@gmail.com wrote: I've been hitting my head against a wall all day trying to figure out why I can't get REST functionality working in my project, and I

[symfony-users] Ajax error 500

2009-08-12 Thread Rafael Barbosa
() that sends a 500 Internal Server Error header. That error causes file_get_contents to issue a [function.file-get-contentshttp://teste.dev.com/function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 500 Internal Server Error in warning. It this the right behavior? Att. Rafael

[symfony-users] Re: Where is the trunk of the sfDoctrine?

2009-07-02 Thread Rafael Barbosa
Symfony 1.2 default points to doctrine 1.0 With a little hacking you can use doctrine 1.1 with it. http://www.brandonturner.net/blog/2009/05/doctrine11-with-symfony12/ http://groups.google.com/group/symfony-devs/browse_thread/thread/bd04ab86db280f9a On Thu, Jul 2, 2009 at 11:06 AM, Jonathan H.