This is on top of my head.

Check your settings.yml

There's a setting where you can specify you want your 404 to go to
default/error404

Don't forget to clear cache

On Thu, Apr 2, 2009 at 5:30 AM, dziobacz <[email protected]> wrote:
>
> I made apps\frontend\modules\default\templates\error404Success.php
> with code:
> ERROR !!!!
>
> and apps\frontend\modules\default\actions\actions.class.php with code:
> <?php
>
> class defaultActions extends sfActions
> {
>  public function executeError404(sfWebRequest $request)
>  {
>
>
>  }
> }
>
>
>
> But when I use: $this->forward404();  I still see symfony error page -
> why ??
>
>
>
> On 2 Kwi, 15:08, Dheeraj Kumar Aggarwal <[email protected]>
> wrote:
>> hi
>>
>> simply copy the default directory into your modules directory
>> $sf_symfony_lib_dir/controller/default/
>> then customize them according to you
>>
>> for more info:http://www.symfony-project.org/book/1_1/17-Extending-Symfony
>>
>>
>>
>> On Thu, Apr 2, 2009 at 5:35 PM, Sid Ferreira <[email protected]> wrote:
>> > Create a module named default.there, you add the action error404 and a
>> > template to it.
>> > It's DONE :D
>>
>> > On Thu, Apr 2, 2009 at 09:04, Sid Bachtiar <[email protected]> wrote:
>>
>> >> Error page? It's just like any other page on Symfony. You need to be
>> >> more specific.
>>
>> >> On Thu, Apr 2, 2009 at 2:35 AM, dziobacz <[email protected]>
>> >> wrote:
>>
>> >> > could somebody give me some tutorial or tell how I can create my own
>> >> > error page ?
>>
>> >> --
>> >> Blue Horn Ltd - System Development
>> >>http://bluehorn.co.nz
>>
>> > --
>> > Sidney G B Ferreira
>> > Desenvolvedor Web
>> > Cia2
>>
>> --
>> Regards,
>> Dheeraj
> >
>



-- 
Blue Horn Ltd - System Development
http://bluehorn.co.nz

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to