Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

araújo danilo

[Resolvido] Amigos.. estou tendo o seguinte erro php.

Recommended Posts

Algume pode me informa como soluciona isso.

 

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/Sao_Paulo' for 'BRST/-2.0/DST' instead in /home/ceone694/public_html/curriculos/main.php on line 4

 

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/Sao_Paulo' for 'BRST/-2.0/DST' instead in /home/ceone694/public_html/curriculos/main.php on line 4

 

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/Sao_Paulo' for 'BRST/-2.0/DST' instead in /home/ceone694/public_html/curriculos/main.php on line 5

 

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/Sao_Paulo' for 'BRST/-2.0/DST' instead in /home/ceone694/public_html/curriculos/main.php on line 5

 

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/Sao_Paulo' for 'BRST/-2.0/DST' instead in /home/ceone694/public_html/curriculos/main.php on line 6

 

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/Sao_Paulo' for 'BRST/-2.0/DST' instead in /home/ceone694/public_html/curriculos/main.php on line 6

Compartilhar este post


Link para o post
Compartilhar em outros sites

Coloque isso no início do seu código e veja se o aviso desaparece:

date_default_timezone_set('America/Sao_Paulo');

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.