Foros del Web » Creando para Internet » Sistemas de gestión de contenidos »

problema con la funcion date() en el servidor y la aplicacion dokeos

Estas en el tema de problema con la funcion date() en el servidor y la aplicacion dokeos en el foro de Sistemas de gestión de contenidos en Foros del Web. hola compañeros buenas tardes. quisera saber si alguien sabe como arreglar el error siguiente arning: date() [function.date]: It is not safe to rely on the ...
  #1 (permalink)  
Antiguo 31/08/2009, 22:20
 
Fecha de Ingreso: febrero-2006
Mensajes: 52
Antigüedad: 18 años, 2 meses
Puntos: 0
problema con la funcion date() en el servidor y la aplicacion dokeos

hola compañeros buenas tardes.
quisera saber si alguien sabe como arreglar el error siguiente

arning: date() [function.date]: 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 'America/Chicago' for '-6.0/no DST' instead in C:\xampp\htdocs\dokeos\main\inc\lib\main_api.lib.p hp on line 1772

Warning: date() [function.date]: 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 'America/Chicago' for '-6.0/no DST' instead in C:\xampp\htdocs\dokeos\main\inc\lib\main_api.lib.p hp on line 1772

Warning: date() [function.date]: 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 'America/Chicago' for '-6.0/no DST' instead in C:\xampp\htdocs\dokeos\main\inc\lib\online.inc.php on line 53

sera que tengo que cambiar la hora del servidor o de la aplicacion gracias por sus comentarios y sugerencias
estoy trabajando con xampp y dokeos 1.8.6.1
gracias

pues aparece cada
  #2 (permalink)  
Antiguo 01/09/2009, 09:19
AlvaroG
Invitado
 
Mensajes: n/a
Puntos:
Respuesta: problema con la funcion date() en el servidor y la aplicacion dokeos

Cita:
You are *required* to use the date.timezone setting or the date_default_timezone_set() function.
http://php.net/date.timezone
http://php.net/date_default_timezone_set

Utiliza alguna de las dos para decirle a PHP en qué zona horaria estás (o qué zona horaria debe tomar a la hora de trabajar con fechas y horas).


Saludos.
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 14:18.