Re: [symfony-users] I get a 500 instead of a 404

2011-02-23 Thread Gareth McCumskey
those functions need to be within a class to actually work ;) On 23/02/2011 18:00, Manu wrote: Hi, I've created custom 404 error pages for my symfony application, but they don't seem to work. In dev I see : This request has been forwarded to a 404 error page by the action "blabla". But in

Re: [symfony-users] I get a 500 instead of a 404

2011-02-23 Thread Gábor Fási
Public is only usable within class context - you're missing the `class defaultActions extends sfActions` line and the connecting brackets. On Wed, Feb 23, 2011 at 17:00, Manu wrote: > Hi, I've created custom 404 error pages for my symfony application, > but they don't seem to work. In dev I see :

[symfony-users] I get a 500 instead of a 404

2011-02-23 Thread Manu
Hi, I've created custom 404 error pages for my symfony application, but they don't seem to work. In dev I see : This request has been forwarded to a 404 error page by the action "blabla". But in prod, the page is just blank; I get a 500 error. In the logs, the error is : PHP Parse error: