tem q colocar o timezone no config.php ou index.php( n lembro bem)
- Fórum
- xTibia - Notícias e Suporte
- Soluções
- Archived
- Erro No Website
3
622
04 de dezembro de 2011 às 19:06
info
Grupo: Barão
Registrado: 17/12/07
Posts: 217
Reputação: +45

04 de dezembro de 2011 às 20:19
Siga:
xampp/php/php.ini
Procure
; Defines the default timezone used by the date functions ; http://php.net/date.timezone date.timezone =
Mude para
; Defines the default timezone used by the date functions ; http://php.net/date.timezone date.timezone = America/Sao_Paulo
Se não funcionar, vá nos arquivos que está com problema e procure por:
<?PHP
adicione logo depois
date_default_timezone_set('America/Sao_Paulo');
Editado Dezembro 4 por k2lan



info
Grupo: Campones
Registrado: 29/11/11
Posts: 2
Reputação: 0
Quando eu vo em Characters e procuro por alguém da este erro em cima da tela
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 '-2.0/DST' instead in C:\xampp\htdocs\characters.php on line 358
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 '-2.0/DST' instead in C:\xampp\htdocs\pot\OTS_Account.php on line 396
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 '-2.0/DST' instead in C:\xampp\htdocs\pot\OTS_Account.php on line 396
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 '-2.0/DST' instead in C:\xampp\htdocs\pot\OTS_Account.php on line 396
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 '-2.0/DST' instead in C:\xampp\htdocs\pot\OTS_Account.php on line 396