Vá na pasta raiz do Xampp, e vá na pasta com nome PHP(não é o PhpMyAdmin) e procure pelo arquivo php.ini (no vista, o ícone é de uma engrenagem sobre um bloco)
Abra o arquivo pelo bloco de notas, e Ctrl+F, procure por "DATE"
provavelmente ele tara assim:
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone =
Mude para assim:
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = America/Sao_Paulo.




info
Grupo: Campones
Registrado: 17/12/10
Posts: 16
Reputação: 0
Meu site tá com problema, tá dando os erros abaixo...
Será que pode ser por que meu ot tá num dedicado do EUA? alguem ajuda ae ;/// ty !!!
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:\xampplite\htdocs\characters.php on line 96
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:\xampplite\htdocs\characters.php on line 360
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:\xampplite\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:\xampplite\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:\xampplite\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:\xampplite\htdocs\pot\OTS_Account.php on line 396
Editado Janeiro 25 por fakez1m