Thanks, that sorted that problem, great.

now it says  Call to undefined method: setSfGuardUserProfile

Not quite sure  what I should change it too, any idea?

TW

On 19 Apr, 16:22, Alexandru-Emil Lupu <gang.al...@gmail.com> wrote:
> It is possible, but from what i am seeing, your schema is malformed.
> sfGuardUser:
>   sfGuardUser_1:
>     username:       clearintent
>     password:       Muaddib
>     is_super_admin: true
>     sfGuardUserProfile:  # here you had several spaces more than it was needed
>       first_name: Clear # here you had several spaces more than it was needed
>       last_name: Intent # here you had several spaces more than it was needed
>       email: m...@mail.com # here you had several spaces more than it was 
> needed
>
>
>
> On Mon, Apr 19, 2010 at 5:50 PM, Tofuwarrior <psbur...@googlemail.com> wrote:
> > Hi all,
>
> > Perhaps I'm being dumb but shouldn't it be possible to do this?
>
> > sfGuardUser:
> >  sfGuardUser_1:
> >    username:       clearintent
> >    password:       Muaddib
> >    is_super_admin: true
> >      sfGuardUserProfile:
> >        first_name: Clear
> >        last_name: Intent
> >        email: m...@mail.com
>
> > in the sfGuard fixtures file so it populates the profile table as
> > well.
>
> > schema is:
>
> >  sf_guard_user_profile:
> >    _attributes: { phpName: sfGuardUserProfile }
> >    id:
> >    user_id:     { type: integer, foreignTable: sf_guard_user,
> > foreignReference: id, required: true, onDelete: cascade }
> >    email:
> >      type: varchar(100)
> >      notnull: true
> >      unique: true
> >    first_name:
> >      varchar(30)
> >    last_name:
> >      varchar(50)
>
> > I get "Unable to parse line 7 (  sfGuardUserProfile:)"  - :-(
>
> > Anyone?
>
> > P
>
> > --
> > 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 symfony-users@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
>
> --
> Have a nice day!
>
> Alecs
> Certified ScrumMaster
>
> There are no cannibals alive! I have ate the last one yesterday ...
> I am on web:  http://www.alecslupu.ro/
> I am on twitter:http://twitter.com/alecslupu
> I am on linkedIn:http://www.linkedin.com/in/alecslupu
> Tel: (+4)0722 621 280
>
> --
> 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 symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.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 symfony-users@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