Hi,

That is the way I was going to recommend. Setting it in your env
variables.

As for the error, it is related to using a date as an id. It is a
DateTime object and is trying to be used as the key of an array in the
UnitOfWork.

Benjamin or Roman will have to comment on this.

- Jon

On Dec 6, 1:20 am, Zuchuat Bertrand <bertrand.zuch...@rero.ch> wrote:
> 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="YYYY-MM-DD HH24:MI:SS"
> export NLS_TIMESTAMP_FORMAT="YYYY-MM-DD HH24:MI:SS"
> export NLS_TIMESTAMP_TZ_FORMAT="YYYY-MM-DD HH24:MI:SS TZH:TZM"
>
> But i have the same error:
>
> Warning: Illegal offset type 
> in/www/virtualhosts/xxx/src/vendor/doctrine/lib/Doctrine/ORM/UnitOfWork.php 
> line 1865
>
> Thanks for you help
>
> Le 3 déc. 2010 à 18:59, Jonathan Wage a écrit :
>
> > I think the issue is you need to configure the oracle date format to be 
> > something that PHPs strtotime can parse. I think the documentation mentions 
> > something about this somewhere.
>
> Bertrand

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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

Reply via email to