I've installed sfGuardDoctrine plugin and followed the directions.
I've generated the models and had everything. Then I made a change to
my schema and now it does not work. When I register a new user I get:

"Unknown method SfGuardUser::addGroupByName"

I think the problem is in my schema, listed below:

...regular tables...

sfGuardUserProfile:
  columns:
    sf_guard_user_id: integer(4)
    first_name: string(255)
    middle_name: string(255)
    last_name: string(255)
    email_address: string(255)
  relations:
    User:
      class: sfGuardUser
      local: user_id
      foreign: id
      type: one
      foreignType: one
      foreignAlias: Profile

and of course, the sfGuardDoctrine tables.

What is could be causing the error?

Thanks!


-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.

Reply via email to