On Aug 25, 9:27 pm, hcwang <[email protected]> wrote:
> Simply for posterity and my own sanity I wanted to post a fix to a
> problem I had but couldn't find an answer for in all my searches.
>
> Basic stuff, I created a new form and placed it into sfproject/apps/
> frontend/lib/form but the damn thing wouldn't autoload.  Nothing in
> the help ilehttp://www.symfony-project.org/forms/1_2/en/01-Form-Creation
> explained what might be wrong.  The php error was "PHP Fatal error:
> Class 'PopularForm' not found in..."
>
> The fix is to run php symfony clear-cache which i guess forces a
> refreshed autoload.
>
> Hopefully this will help other newbies


That's true for anything that goes into the top level lib folder, too.
New helpers, new classes, new forms, etc. Always run "clear cache"
before trying to use them.

This should probably be given more emphasis in the documentation.



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