Página 1 de 1

problema con XAMPP y error date.timezone setting

Publicado: 25 Ene 2011, 16:23
por Trainux
Hola, queria trastear un poco con el phpbb nuevo y lo he instalado en localhost. Uso el instalador todo bien menos cuando llega al ultimo paso que me sale esta tira de errores:

Código: Seleccionar todo

[phpBB Debug][phpBB Debug] PHP Notice: in file /includes/functions_messenger.php on line 403: 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 'Europe/Paris' for '1.0/no DST' instead
[phpBB Debug] PHP Notice: in file /install/index.php on line 444: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /install/index.php on line 445: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /install/index.php on line 446: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /install/index.php on line 447: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
Sabeis como solucionarlo? Esta todo por localhost, probado con xampp. A ver si alguien tiene alguna idea, parece algo de la hora pero nose...

Problema al instalar phpbb 3.0.8 en localhost

Publicado: 25 Ene 2011, 16:58
por leviatan21
Trainux escribió:Hola, queria trastear un poco con el phpbb nuevo y lo he instalado en localhost. Uso el instalador todo bien menos cuando llega al ultimo paso que me sale esta tira de errores:

Sabeis como solucionarlo? Esta todo por localhost, probado con xampp. A ver si alguien tiene alguna idea, parece algo de la hora pero nose...

Está en las normas, no se da soporte en local


Re: problema con XAMPP y error date.timezone setting

Publicado: 25 Ene 2011, 17:02
por HuanManwe
es un tema del xampp, no del phpbb3, así que lo muevo a otra categoría y lo respondo.

Re: problema con XAMPP y error date.timezone setting  Tema Solucionado

Publicado: 25 Ene 2011, 17:09
por HuanManwe
Abre con un editor de texto tipo notepad++, dentro del directorio del xampp, el archivo xampp\php\php.ini

Busca la parte de date:

Código: Seleccionar todo

    [Date]
    ; Defines the default timezone used by the date functions
    ; http://php.net/date.timezone
y añade esta línea

Código: Seleccionar todo

date.timezone = "Europe/Madrid"
Fíjate que para que Apache lea esa línea NO debe tener un punto y coma al principio. El punto y como al principio es la marca de "comentario" en Apache.

Para saber más zonas elegibles en PHP mira este enlace: http://us2.php.net/manual/es/timezones.europe.php

Guarda el archivo php.ini y reinicia el Apache (o el propio XAMPP).

problema con XAMPP y error date.timezone setting

Publicado: 25 Ene 2011, 17:29
por Trainux
Muchas graciaas :P Voy a probar lo que me estais comentando.

Re: problema con XAMPP y error date.timezone setting

Publicado: 25 Ene 2011, 22:54
por HuanManwe
Ya nos dirás si te ha funcionado, aunque estoy casi seguro de que sí.

Re: problema con XAMPP y error date.timezone setting

Publicado: 26 Ene 2011, 10:35
por Trainux
HuanManwe escribió:Ya nos dirás si te ha funcionado, aunque estoy casi seguro de que sí.
Sip todo perfecto, muchisimas gracias, ahora a trastear se ha dicho xD