Erro No Website

Androidserver
em Lixeira Pública

Androidserver

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 29/11/11Posts: 2

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

dreigon67

Zé piqueno
avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 23/07/10Posts: 38

tem q colocar o timezone no config.php ou index.php( n lembro bem)

Ajudei? me dê rep_up.png(Não cai o dedo)

k2lan

Na vida tudo passa, não importa o que tu faça
avatar
Barão
Barão

INFOS

Grupo: BarãoRegistrado: 17/12/07Posts: 217

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');