Hello all, Im trying to upload an image in the admin generator using the widget sfWidgetFormInputFileEditable but I only get *"Array*" in the database and the file is not uploaded.. and I have no error messages.
Any idea what could be happening? This is the widget conf: $this->widgetSchema['imagen'] = new sfWidgetFormInputFileEditable( array( 'edit_mode' => !$this->isNew(), 'file_src' => '/uploads/contenidos/'.$this->getObject()->getImagen(), 'is_image' => true, 'with_delete' => true, 'template' => '<div>%file% %input% %delete% %delete_label%</div>', )); $this->validatorSchema['imagen_delete'] = new sfValidatorPass(); Thanks, Matías --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---