> apps/frontend/config/settings.yml
> all:
>  .actions:
>    error_404_module: default
>    error_404_action: error404


Don't you want to change the error module? I usually create a module
called "error":

error_404_module: error


I put all of my error templates in there.





On Fri, Nov 27, 2009 at 1:08 AM, isyairazu <isyair...@gmail.com> wrote:
> Hello everyone,
>
> Why can not I customize the error page?
>
> Symfony1.2
>
> config/error/error.html.php
> <?php echo 'test ok' ?>
>
> apps/frontend/config/settings.yml
> all:
>  .actions:
>    error_404_module: default
>    error_404_action: error404
>
> $ ./symfony cc
>
> access prod-env
> http://eample.com/invalid.html
> => Displayed Oops! Page Not Found (symfony's default)
>
> I want to show "test ok".
>
> Where of me is foolish?
>
> regards.
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "symfony users" group.
> To post to this group, send email to symfony-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> symfony-users+unsubscr...@googlegroups.com.
> 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 symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.


Reply via email to