[symfony-users] Re: Doctrine build SQL error

2009-06-03 Thread FlyLM [ML]

I've found my error !!!

In my yml file schema, "I18n" behavior was writen "I18N" instead of
"I18n". Linux is case sensitive, Mac OS X and Windows not.

Sorry for the noise.
Fabien

2009/6/3 FlyLM [ML] :
> I've the same problem on a Debian Dedicated server :-(
>
>
> 2009/6/3 FlyLM [ML] :
>> Hi,
>>
>> I've finished a project under Symfony / Doctrine. Developers have
>> worked on Mac OS X and Windows.
>> When I try to install the project on Linux (Gentoo, PHP 5.2.9), the
>> task "doctrine:build-sql" fails with this error :
>>
>> Fatal error: Class 'I18N' not found in
>> /var/www/publish/_project/lib/model/doctrine/base/BaseubProduct.class.php
>> on line 83
>>
>> On line 83, I've :
>>
>> $i18n0 = new I18N(array('fields' => array(0 => 'label'), 'className'
>> => '%CLASS%I18n'));
>>
>> On Mac OS X or Windows, on line 83 I've :
>>
>> $i18n0 = new Doctrine_Template_I18N(array('fields' => array(0 =>
>> 'label'), 'className' => '%CLASS%I18n'));
>>
>> I don't understand the problem. If I don't re-built model files (get
>> from my SVN repository), and built manually the database from a dump,
>> I get same error in the site when page uses an object with I18N
>> behavior.
>>
>> Have you got some ideas ?
>>
>> Fabien
>>
>

--~--~-~--~~~---~--~~
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: Doctrine build SQL error

2009-06-03 Thread FlyLM [ML]

I've the same problem on a Debian Dedicated server :-(


2009/6/3 FlyLM [ML] :
> Hi,
>
> I've finished a project under Symfony / Doctrine. Developers have
> worked on Mac OS X and Windows.
> When I try to install the project on Linux (Gentoo, PHP 5.2.9), the
> task "doctrine:build-sql" fails with this error :
>
> Fatal error: Class 'I18N' not found in
> /var/www/publish/_project/lib/model/doctrine/base/BaseubProduct.class.php
> on line 83
>
> On line 83, I've :
>
> $i18n0 = new I18N(array('fields' => array(0 => 'label'), 'className'
> => '%CLASS%I18n'));
>
> On Mac OS X or Windows, on line 83 I've :
>
> $i18n0 = new Doctrine_Template_I18N(array('fields' => array(0 =>
> 'label'), 'className' => '%CLASS%I18n'));
>
> I don't understand the problem. If I don't re-built model files (get
> from my SVN repository), and built manually the database from a dump,
> I get same error in the site when page uses an object with I18N
> behavior.
>
> Have you got some ideas ?
>
> Fabien
>

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