Did you clear your cache after creating the file?

On Tue, Sep 29, 2009 at 17:20, Simone Fumagalli
<[email protected]> wrote:
>
> Hello
>
> I'm trying to override sfPHPView because I need few more features.
>
> I've created my new class sfMYView and saved it in a file called
> sfMYView.class.php.
> Then I've added these lines to my_module/config/module.yml
>
> all:
>  enabled:            true
>  view_class:         sfMY
>  partial_view_class: sf
>
> The point is that when I try to view the page I get :
> Fatal error: Class 'sfMYView' not found in /home/... /
> sfController.class.php on line 376
>
> I think that the class sfMYView is not loaded.
> Where Do I have to save the file sfMYView.class.php ? I've tried to
> put it in /symfony/lib/view/ or mymodule/lib/
>
> Where am I wrong ?
>
> Thanks
>
> --
> Simone
> >
>

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