fsg 230 Postado Junho 26, 2010 Share Postado Junho 26, 2010 Oi, então eu vi a Video Aula do Doidin e deu certo, quando eu vou em My Account no site aparece 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 '-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\pot\OTS_Account.php on line 381 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 381 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 381 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 381 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 Espero Resposta! Abraços. Link para o comentário Compartilhar em outros sites More sharing options...
Himmler 3 Postado Junho 28, 2010 Share Postado Junho 28, 2010 Vai na pasta HTDOCS, abre o INDEX.PHP, e adiciona embaixo de [ <?PHP ] isso aqui, "date_default_timezone_set('Europe/Berlin');" (Sem aspas é claro) flw Link para o comentário Compartilhar em outros sites More sharing options...
fsg 230 Postado Junho 28, 2010 Autor Share Postado Junho 28, 2010 (editado) Cara, muito obrigado me ajudou e consegui arrumar todos os bugs! Abraços - Rep+. Editado Junho 28, 2010 por FezZinN Link para o comentário Compartilhar em outros sites More sharing options...
afffffffff 2 Postado Junho 28, 2010 Share Postado Junho 28, 2010 (editado) Vai na pasta HTDOCS, abre o INDEX.PHP, e adiciona embaixo de [ <?PHP ] isso aqui, "date_default_timezone_set('Europe/Berlin');" (Sem aspas é claro) flw @Heinrich isso apenas irá resolver o problema com time_zone do script atual dele, mais se algum dia ele se deparar com outro script e der o mesmo erro ele terá que alterar todo seu code adicionando esse code? ou apenas fazer essa certa alteração no seu webserver: abra a pasta do xampp e o arquivo php.ini " /xampp/php/php.ini " abra o arquivo e use a ferramenta pesquisar " ctrl+f " procure por: date.timezone Altere a linha por esta: date.timezone =America/Sao_Paulo Salve, reinicie o apache. Editado Junho 28, 2010 por afffffffff Link para o comentário Compartilhar em outros sites More sharing options...
felipedorgas 25 Postado Julho 30, 2010 Share Postado Julho 30, 2010 @affff eu fiz isso e continuo o 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 '-3.0/no DST' instead in C:\xampp\htdocs\latestnews.php on line 20 Link para o comentário Compartilhar em outros sites More sharing options...
vinny160600 52 Postado Março 31, 2011 Share Postado Março 31, 2011 REP+ Heinrich BRIGAÃO ARRUMEI MEU SERVER GRAÇAS A VOCÊ BRIGADOOOOOOOOO! Link para o comentário Compartilhar em outros sites More sharing options...
rodrygosos 4 Postado Dezembro 14, 2011 Share Postado Dezembro 14, 2011 Vlw amigo ajudo muito ^^ continui assim @Heinrich Link para o comentário Compartilhar em outros sites More sharing options...
magera 0 Postado Janeiro 8, 2012 Share Postado Janeiro 8, 2012 ajuda eu tbm Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'z_forum.icon_id' in 'field list'' in C:\xampp\htdocs\latestnews.php:277 Stack trace: #0 C:\xampp\htdocs\latestnews.php(277): PDO->query('SELECT `z_forum...') #1 C:\xampp\htdocs\index.php(64): include('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\latestnews.php on line 277 Link para o comentário Compartilhar em outros sites More sharing options...
Posts Recomendados