[symfony-users] Re: sfDoctrineGuardPlugin schema options: collate & charset

2009-09-30 Thread nord_ua

The way to add this options without changing schemas is to add
public function setTableDefinition() {
  parent::setTableDefinition();
  $this->option('collate', 'utf8_unicode_ci');
  $this->option('charset', 'utf8');
}
to model files in lib/model/doctrine/sfDoctrineGuardPlugin/* files



On Sep 18, 10:37 am, nord_ua  wrote:
> May be I've posted it in wrong place? Where I should move it?
>
> On Sep 15, 11:56 pm, nord_ua  wrote:
>
> > Is it possible to add options to tables: sfGuardGroup,
> > sfGuardPermission, sfGuardUser?
>
> >   options:
> >     collate: utf8_unicode_ci
> >     charset: utf8
>
> > I'm using UTF8, so when I'm using DoctrineGuardPlugin and create some
> > roles I got exception:
> > SQLSTATE[HY000]: General error: 1267 Illegal mix of collations
> > (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for
> > operation '='
>
> > 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-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
-~--~~~~--~~--~--~---



[symfony-users] Re: sfDoctrineGuardPlugin schema options: collate & charset

2009-09-18 Thread nord_ua

May be I've posted it in wrong place? Where I should move it?


On Sep 15, 11:56 pm, nord_ua  wrote:
> Is it possible to add options to tables: sfGuardGroup,
> sfGuardPermission, sfGuardUser?
>
>   options:
>     collate: utf8_unicode_ci
>     charset: utf8
>
> I'm using UTF8, so when I'm using DoctrineGuardPlugin and create some
> roles I got exception:
> SQLSTATE[HY000]: General error: 1267 Illegal mix of collations
> (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for
> operation '='
>
> 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-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
-~--~~~~--~~--~--~---



[symfony-users] sfDoctrineGuardPlugin schema options: collate & charset

2009-09-15 Thread nord_ua

Is it possible to add options to tables: sfGuardGroup,
sfGuardPermission, sfGuardUser?

  options:
collate: utf8_unicode_ci
charset: utf8

I'm using UTF8, so when I'm using DoctrineGuardPlugin and create some
roles I got exception:
SQLSTATE[HY000]: General error: 1267 Illegal mix of collations
(latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for
operation '='

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-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
-~--~~~~--~~--~--~---



[symfony-users] Re: "Practical symfony" header link problem

2009-08-07 Thread nord_ua

Thanks, I'm tired to edit adress :)

On 6 авг, 22:14, Eno  wrote:
> On Thu, 6 Aug 2009, nord_ua wrote:
> > Hi! When I'm reading jobeet with doctrine tutorial
> >http://www.symfony-project.org/jobeet/1_2/Doctrine/en/01header link
> > goes tohttp://www.symfony-project.org/jobeet/1_2/Propel/en/. Is it a
> > joke?
>
> Its a bug - Ive opened a ticket.
>
> --
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[symfony-users] "Practical symfony" header link problem

2009-08-06 Thread nord_ua

Hi! When I'm reading jobeet with doctrine tutorial
http://www.symfony-project.org/jobeet/1_2/Doctrine/en/01 header link
goes to http://www.symfony-project.org/jobeet/1_2/Propel/en/ . Is it a
joke?

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---