Have you defined the relation of documents_users to users in your schema.yml? Are you trying to achieve the behavior of sfGuardUser to sfGuardPermission via sfGuardUserPermission?
On Jan 15, 7:01 pm, Javier Garcia <tirengar...@gmail.com> wrote: > On 01/14/2010 11:20 PM, Gabo wrote: > > > > > > > Help!! > > > I have this in schema: > > > documents_users: > > columns: > > document_id: { type: integer } > > user_id: { type: integer } > > created_at: { type: timestamp } > > > y en the form, i change the widget user_id for this: > > > 'user_id' => new sfWidgetFormDoctrineChoice(array('model' => > > 'sfGuardUser', 'add_empty' => true, *'multiple'=> true*)), > > > In the form the widget is multiple option... but i want to save the > > form, print error: > > > SQLSTATE[HY093]: Invalid parameter number: number of bound > > variables does not match number of tokens > > > i net to save more inserts becouse i selected 2 users_id in the > > form...but symfony dont save?? > > > -- > > 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. > > Hi, > > could you send the part that appears below the error message? > > Javi
-- 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.