Ver Mensaje Individual
  #1 (permalink)  
Antiguo 13/05/2012, 16:54
Avatar de ramiro_md
ramiro_md
 
Fecha de Ingreso: septiembre-2008
Mensajes: 274
Antigüedad: 15 años, 8 meses
Puntos: 26
Problemas DateTime() Symfony2

Buenas estoy trabajando con Symfony 2. Su instalación no me ha dado problemas, cree un proyecto, generé sus entities y a la hora de crear la bd con el comando:
Cita:
php app/console doctrine:schema:create
Me tira el siguiente error:

Cita:

DateTime::__construct(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.
Mi php.ini según phpinfo() es:
Cita:
Configuration File (php.ini) Path : /etc/php5/apache2
Y ahí mismo tengo configurado el timezone de esta forma:
Cita:
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = America/Buenos_Aires
;date.timezone = "UTC"
En qué esta fallando ?. Agradecería cualquier tipo de ayuda.
Desde ya, muchas gracias.