Página 1 de 1

Mensaje de error en el header

Publicado: 08 Jul 2010, 06:33
por Remy
Hola, hasta esta tarde estuve usando el foro sin problemas, pero recién llego del trabajo y resulta que cuando ingreso me encuentro con este mensaje arriba del banner, en el header.

[phpBB Debug] PHP Notice: in file /index.php on line 86: 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/Buenos_Aires' for 'ART/-3.0/no DST' instead
[phpBB Debug] PHP Notice: in file /index.php on line 86: getdate() [function.getdate]: 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/Buenos_Aires' for 'ART/-3.0/no DST' instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4284: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4286: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4287: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4288: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)


¿Alguna idea de lo que pudo haber pasado? Ayer quisieron registrarse desde china, tenía toda la pinta de ser SPAM y lo elimine enseguida. Es lo único raro que me viene a la mente.
¿Alguna modificación del server?

Re: Mensaje de error en el header  Tema Solucionado

Publicado: 08 Jul 2010, 08:31
por HuanManwe
edita el archivo common.php de la raiz de tu foro con el notepad++, cuidando de guardar el archivo con codificación utf-8 sin BOM.

// Set time zone
date_default_timezone_set('UTC');

o bien

date_default_timezone_set('UTC'+1);


O bien crea un archivo php.ini con este contenido:
date.timezone = Europe/Paris

y ponlo en la base de tu foro.

Re: Mensaje de error en el header

Publicado: 10 Jul 2010, 07:57
por Remy
Muchas gracias Huan, efectivamente, se soluciono haciendo eso. ¿Pero como pudo desconfigurarse sin haber hecho nada?

Re: Mensaje de error en el header

Publicado: 10 Jul 2010, 10:13
por HuanManwe
No fue culpa tuya. Eso ocurrió porque el servidor actualizó su versión de PHP.

Re: Mensaje de error en el header

Publicado: 19 May 2011, 12:11
por ide
he hecho las dos cosas y sigue igual es normal?