Ir para conteúdo

[Erro] Gesior


fsg

Posts Recomendados

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

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 por afffffffff
Link para o comentário
Compartilhar em outros sites

  • 1 month later...

@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

  • 8 months later...
  • 8 months later...
  • 4 weeks later...

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

  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...