[symfony-users] Re: PHP Fatal error: Uncaught exception 'sfStopException'

2009-10-05 Thread ollietb
Hi Jake, Thanks for your input. I use $action->forward404Unless($condition) quite a few times in my application. I imagine the forward() is in that method. The strange this is that this error isn't logged in my local environment, so I'm wondering whether it is something to do with the php instal

[symfony-users] Re: PHP Fatal error: Uncaught exception 'sfStopException'

2009-09-25 Thread Jake Barnes
Why are you using forward? Why not redirect or why not simply call a given method? Why not just set the template to whatever you want? Why forward? On Sep 24, 4:34 am, ollietb wrote: > Hi there > I've noticed that my PHP logs are full of thousands of PHP Fatal > error: Uncaught exception 'sfSt

[symfony-users] Re: PHP Fatal error: Uncaught exception 'sfStopException'

2009-09-25 Thread Jake Barnes
I just did "grep -R catch *" on the core symfony files. These are the catch clauses in the Symfony core: http://lawrence.sds5.com/symfony_catch_clauses.txt Not sure where to start to look, but I would assume that Symfony normally catches the exceptions that it throws, and that your situation is

[symfony-users] Re: PHP Fatal error: Uncaught exception 'sfStopException'

2009-09-25 Thread zeek
I've never called forward(), but the documentation says "This method stops the action. So, no code is executed after a call to this method." I assume it is throwing the exception to stop the action. I would think this propagates up and is caught at a higher level, though apparently that is not ha