I suggest you take a look in the appropriate config_autoload.yml.php
files in your cache - it will show you if it's picking up the class or
not.

I've only done this for debugging issues at for classes in the project
level lib directory, but I imagine it may be similar for the module
level.  Perhaps the module will have its own autoload file in your
case?

Cheers,
Steve

On May 3, 6:49 am, xdade <[email protected]> wrote:
> Hi,
> I have a class definition in:
> mypath/apps/myapp/modules/mymod/lib/myClass.class.php
>
> and I use it in:
> mypath/apps/myapp/modules/mymod/templates/_mypartial.php
>
> this has always worked, but now suddenly I get this message:
> "Fatal error: Class 'myClass' not found in mypath/apps/myapp/modules/
> mymod/templates/_mypartial.php"
>
> sure enough I have cleared the cache many times, and the strange thing
> is that if I move the class definition in:
> mypath/lib
>
> all back to function normally.
>
> Any ideas?
> What tests can I do to discover what is the problem?
>
> Related forum posthttp://forum.symfony-project.org/index.php/t/20565/
>
> thanks in advance
> Daniele
--~--~---------~--~----~------------~-------~--~----~
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