While using the dev front controller, you will always get that screen (you don't really care about a fancy 404 screen while developing, do you?). If you want to customize your 404 template, use the prod controller.
On Fri, Dec 18, 2009 at 04:27, diogobaeder <[email protected]> wrote: > Hi, > > I'm trying to customize the 404 action, but the sfError404Exception is > taking me to the default non-catched exceptions screen. Can you help > me? Here are my configs: > > > > # settings.yml > ... > all: > .actions: > error_404_module: main > error_404_action: error404 > ... > > # modules/main/actions/actions.class.php > ... > public function executeError404(sfWebRequest $request) > { > > } > ... > > # modules/main/templates/error404Success.php > (blank, for now) > > # the error message > 404 | Not Found | sfError404Exception > Empty module and/or action after parsing the URL "/i-do-not- > exist" (/). > stack trace > > > > > Thanks! > > -- > > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
