Ir para conteúdo

Featured Replies

Postado

Pessoal estou usando o módulo da Angélica para saldos f2b, paypal e pagseguro a algum tempo.

Recentemente deparei com este erro.

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 /public_html/clientes/includes/adminfunctions.php on line 0

Warning: strftime() [function.strftime]: 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 /public_html/clientes/includes/smarty/plugins/modifier.date_format.php on line 39

A timezone do centos e do php estão setadas para 'America/Sao_Paulo'

Alguem tem uma luz do que pode ter acontecido e como resolver o erro?


Postado

Pessoal estou usando o módulo da Angélica para saldos f2b, paypal e pagseguro a algum tempo.

Recentemente deparei com este erro.

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 /public_html/clientes/includes/adminfunctions.php on line 0

Warning: strftime() [function.strftime]: 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 /public_html/clientes/includes/smarty/plugins/modifier.date_format.php on line 39

A timezone do centos e do php estão setadas para 'America/Sao_Paulo'

Alguem tem uma luz do que pode ter acontecido e como resolver o erro?

PagSeguro bloqueou a visualização via cURL.


Postado
  • Autor

O pagseguro não funciona faz tempo isso eu sei.

Resolvi com a linha

date_default_timezone_set('America/Sao_Paulo');

em configurations.php na raiz do whmcs


Visitante
Este tópico está impedido de receber novos posts.

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Informação Importante

Concorda com os nossos termos?