Msfox 10 Postado Setembro 5, 2010 Share Postado Setembro 5, 2010 (editado) Primeiramente, o site está instalado 100% corretamente e tals. Daí depois que instalo e tudo, aparece uns erros acima do banner,tipo: 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 '-3.0/no 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 '-3.0/no 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 '-3.0/no 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 '-3.0/no 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 '-3.0/no DST' instead in C:\xampp\htdocs\accountmanagement.php on line 52 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 '-3.0/no DST' instead in C:\xampp\htdocs\accountmanagement.php on line 52 -Se puderem ajudar, serei muito grato a vocês, pois quando comecei a mecher com OT nao sabia nada, consegui chegar até aqui e acho um grande progresso, e nao e por isso que vou desistir, conto com a ajuda de vocês sz Editado Setembro 5, 2010 por Msfox Link para o comentário Compartilhar em outros sites More sharing options...
netflat 16 Postado Setembro 6, 2010 Share Postado Setembro 6, 2010 xampp/php/php.ini procure por isso: ; Defines the default timezone used by the date functions ; http://php.net/date.timezone date.timezone = Mude para isso: ; 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 Depois disso adicione: date_default_timezone_set('America/Sao_Paulo'); Link para o comentário Compartilhar em outros sites More sharing options...
Posts Recomendados