Strict Standards: strftime() [function.strftime]: erro que dá quando as páginas do Ez são carregadas.

« Tópico anterior
|
Instalação e configuração
|
Próximo tópico »

Você precisa estar conectado para ter acesso aos fóruns. Você pode fazer isto aqui

Autor Mensagem
Leandro Del Sole

Terça-Feira, 25 de Março de 2008, 20:22:35 pm

Strict Standards: strftime() [function.strftime]: erro que dá quando as páginas do Ez são carregadas.

Olá,
toda página que eu faço no Ez Publish 4, independente de estar sendo visualizada por usuário, ou estar na parte administrativa, aparece estes erros:

Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'BRT/-3.0/no DST' instead in /var/www/ezpublish/lib/ezutils/classes/ezdebug.php on line 879

Strict Standards: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'BRT/-3.0/no DST' instead in /var/www/ezpublish/lib/ezutils/classes/ezdebug.php on line 879

Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'BRT/-3.0/no DST' instead in /var/www/ezpublish/lib/ezutils/classes/ezdebug.php on line 879

Strict Standards: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'BRT/-3.0/no DST' instead in /var/www/ezpublish/lib/ezutils/classes/ezdebug.php on line 879

Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'BRT/-3.0/no DST' instead in /var/www/ezpublish/lib/ezutils/classes/ezdebug.php on line 879


Aparecem inúmeros desses e a quantidade é variante. Gostaria de saber como arrumar, já pesquisei no google...
Pelo que eu entendi da descrição é alguma coisa no meu linux que está diferente do Ez...mas não consegui identificar o que.
Na instalação eu escolhi todas opções para portguês, e ele ficou em inglês dando este erro...

Obs: eu só testei acessando por um computador da rede, não publiquei ele na internet para ver se o erro continua.

Obrigado.
Leandro Del Sole

Quinta-Feira, 27 de Março de 2008, 17:59:37 pm

Problema resolvido

Adicionei a linha:
date_default_timezone_set( "America/Sao_Paulo" );
ao /ezpublish/index.php, e aparentemente o problema está resolvido.

Desculpe, eu já havia procurado mas não tinha achado, agora pesquisei com mais calma e achei aqui no fórum mesmo.



eZ publish™ copyright © 1999-2005 eZ systems as