If I rebuild my models, the sfGuard models return but if I try to login, I get the error:
Unknown method SfGuardUserTable::retrieveByUsername If I delete the models from lib/model, I don't get the error and everything works. Any ideas? On Dec 14, 9:13 am, Alexandre Salomé <[email protected]> wrote: > Files are generated in project because Guard is a part of your model. > Generated classes should stay in the lib/model folder. You cannot move them > or they will be regenerated. > Any symfony developer will look in this folder. > This place is the "place to be". > > Tell us if you solved your problem. > --- > Alexandre Salomé -http://alexandre-salome.fr > > Le 14 déc. 2010 09:28, "codecowboy" <[email protected]> a écrit : > > Hi, > > I'm new to symfony and am using the sfDoctrineGuardPlugin. I got it > working by adapting the procedure from the jobeet tutorial. However, > when I re-build my models, duplicate sfDoctrineGuardPlugin classes are > added to lib/model. I assume this is because the sfDoctrineGuardPlugin > tables are now in my schema. Should I delete these? What is best > practice in this situation? > > I installed sfDoctrineGuardPlugin using the PEAR method. > > Thanks, > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > 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]<symfony-users%2bunsubscr...@goog > legroups.com> > For more options, visit this group > athttp://groups.google.com/group/symfony-users?hl=en -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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
