Re: [symfony-users] Doctrine2, Date and Oracle

2010-12-05 Thread Zuchuat Bertrand
Hi Jon, Another solution is ton set variables on apache (file envvars): # ORACLE export DYLD_LIBRARY_PATH="/opt/local/lib/oracle" export NLS_LANG=AMERICAN_AMERICA.AL32UTF8 export NLS_TIME_FORMAT="HH24:MI:SS" export NLS_DATE_FORMAT="-MM-DD HH24:MI:SS" export NLS_TIMESTAMP_FORMAT="-MM-DD H

Re: [symfony-users] Doctrine2, Date and Oracle

2010-12-05 Thread Zuchuat Bertrand
Hi Jon, I find this solution to set listener on doctrine connection: namespace Bundle\StatOpacBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface; use D

[symfony-users] Doctrine2, Date and Oracle

2010-12-03 Thread Zuchuat Bertrand
Hi, I would like to use the definition date with Oracle but i have a convention problem. - My Entity: class vevolution { /** * @orm:Id * @orm:Column(type="date") */ private $day; public function getDay() { return $this->day; } } - My query in my funct

Re: [symfony-users] Symfony 1.4 + Doctrine + OCI8

2010-12-03 Thread Zuchuat Bertrand
Hi, I use this syntax to connect my project on Oracle: all: opacstat: class:sfDoctrineDatabase param: dsn:'oracle:dbname=//server_address:1521/SID' username: xxx password: Doctrine implement 2 solutions with Oracle: oci8 and pdo. But PDO isn'

[symfony-users] Strange problem with multiple db connections

2010-08-12 Thread Zuchuat Bertrand
Hi Jon, I have a strange problem with multiple db connections. My databases.yml (definition): all: common: class:sfDoctrineDatabase param: dsn:'oracle:dbname=//server:1521/sid' username: x password: x web: class:sfDoctrineData

[symfony-users] Doctrine 1.2 and Oracle

2010-01-14 Thread Zuchuat Bertrand
Hi Jon, I have some problems with Oracle 10 and Doctrine 1.2 with symfony. my connection on databases.yml all: web: class:sfDoctrineDatabase param: dsn:'oracle:dbname=//url:1521/sid' username: web password: The user web has all privileges and

[symfony-users] Uncheck tag on checkbox widget

2009-12-04 Thread Zuchuat Bertrand
Hi, I would like to uncheck the value on the widget Checkbox. I tested this on my class form but nothing: public function configure() { if ($this->isNew()) { $this->widgetSchema['is_disabled'] = new sfWidgetFormInputCheckbox(array('value_attribute_value' => '')); }

[symfony-users] Re: Unit test failed with dubious

2009-11-02 Thread Zuchuat Bertrand
I find my solution. i added this line into my test file: $configuration = ProjectConfiguration::getApplicationConfiguration('frontend', 'test', false); Bertrand Le 2 nov. 09 à 17:09, Zuchuat Bertrand a écrit : > I have the same problem after launch &quo

[symfony-users] Re: Unit test failed with dubious

2009-11-02 Thread Zuchuat Bertrand
Hi David, I have the same problem after launch "symfony project:permission". Thank you Bertrand Le 2 nov. 09 à 17:00, David Ashwood a écrit : > I had this problem recently and fixing perms fixed it. --~--~-~--~~~---~--~~ You received this message because you

[symfony-users] Unit test failed with dubious

2009-11-02 Thread Zuchuat Bertrand
Hi, I have a strange problem with unit test on symfony 1.3. If l execute the command "symfony unit:test" with no param, i have all tests with dubious result. If i test one by one, all tests is OK (log bellow). Why ? Thank you for your help. Bertrand ./symfony test:unit pictureMonthModel