Can somebody who customized the sfGuardPlugin show me the file system
from apps ?

apps/
   backend/
      modules/
         sfGuardAuth/
             ...

And show me its generator.yml ?

Thanks

On Apr 30, 11:04 am, Pierre Lecocq <[email protected]> wrote:
> I tried with the 3.0.0 release.
> But each time I try to override a file, I have an error.
> (this time: "Class 'autosfGuardUserActions' not found")
>
> ...
>
> Does anybody encountered the same problem ?
>
> On Apr 30, 10:37 am, Pierre Lecocq <[email protected]> wrote:
>
> > Unfortunatly ... still got the same error !
> > I created manually apps/backend/modules/sfGuardAuth/modules/
> > sfGuardUser/config   (also tried apps/backend/modules/sfGuardAuth/
> > config)
> > I copied the sfGuardUser's generator.yml.
> > Regenerated froms / sql / filters ... cleared cache.
> > But if I modify the generator, I have the fatal error (Class
> > 'BaseSfGuardUserGeneratorConfiguration' )
>
> > In order to locate the class, I tried: grep -nsri "class
> > BaseSfGuardUserGeneratorConfiguration" *
> > Of cours, there is no results !
> > I think the class is "really" missing.
>
> > I will try to install an older version of the plugin.
>
> > But if you have another idea ... I take it !
>
> > Thanks in advance
>
> > On Apr 29, 4:07 pm, Pierre Lecocq <[email protected]> wrote:
>
> > > All right, I will try this.
> > > Thanks a lot for your answer.
>
> > > On Apr 29, 3:22 pm, Steve the Canuck <[email protected]> wrote:
>
> > > > The name of your module should be sfGuardAuth, not sfGuardUser.  Your
> > > > module effectively overrides the sfGuardPlugin's version, so it needs
> > > > to follow exactly the same directory structure as the plugin's.
>
> > > > On Apr 29, 6:08 am, Pierre Lecocq <[email protected]> wrote:
>
> > > > > Hello people,
>
> > > > > I have a problem with the sfGuardPlugin.
> > > > > I installed it successfully, I plaed with its default version without
> > > > > any problem.
> > > > > But I wanted to customize it.
>
> > > > > In the documentation (readme of the plugin), it is written that if we
> > > > > want to change configuration / actions / templates, we have to create
> > > > > the module by simply creating a folder (not by the generators).
> > > > > So, I created a sfGuardUser folder in mu apps/backend/modules/
> > > > > I added a conf directory and then copied the original generator.yml in
> > > > > this folder.
>
> > > > > But if I change a simple value in the generator, it crashes.
> > > > > I just started by changing the "theme" value. From "admin" to
> > > > > "default".
>
> > > > > Here is the error:
> > > > > Fatal error: Class 'BaseSfGuardUserGeneratorConfiguration' not found
>
> > > > > I also tried to implement the actions.class.php (I adapted the include
> > > > > path, of course), but same error.
> > > > > I tried to delete the folder I created and copy the plugin User module
> > > > > whole directory, but same error.
> > > > > I tried 4 times from a brand new clean sandbox, and I am always stuck
> > > > > to the same step.
>
> > > > > I precise that at each step, I clear the cache and I also re-generated
> > > > > forms / SQL / ...
>
> > > > > Do you have an idea or a suggestion ?
> > > > > Or maybe the solution ?
>
> > > > > Thanks for your help.
--~--~---------~--~----~------------~-------~--~----~
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