[Erro] Gesior

fsg
Por fsg
em Lixeira Pública

fsg

Felipe Sartori
avatar
Infante
Infante

INFOS

Grupo: InfanteRegistrado: 16/05/10Posts: 1510Char no Tibia: Alia Dori

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.

Guarani da minha vida, a razão do meu viver, se ele jogasse lá no céu eu morreria só pra te ver! 1911 - 2015 ♥ 

Himmler

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 16/08/07Posts: 11

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

fsg

Felipe Sartori
avatar
Infante
Infante

INFOS

Grupo: InfanteRegistrado: 16/05/10Posts: 1510Char no Tibia: Alia Dori

Cara, muito obrigado me ajudou e consegui arrumar todos os bugs!

 

Abraços - Rep+.

Guarani da minha vida, a razão do meu viver, se ele jogasse lá no céu eu morreria só pra te ver! 1911 - 2015 ♥ 

afffffffff

Programadores
avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 04/10/06Posts: 5

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.

ceoweb.png

 

<?php



if(!tutorial_rows($result))

{

echo '';

}

else

{

echo '

[ Nivem Médio - Includes ]

[ Tutorial - Configurando Rank ]

[ Download - Site Rank ]

[ Shop Online FBv 1.0 ]

 

'; }

 

?>



felipedorgas

avatar
Barão
Barão

INFOS

Grupo: BarãoRegistrado: 01/06/10Posts: 230

@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

papeldeparededopalmeira.jpg

rodrygosos

avatar
Artesão
Artesão

INFOS

Grupo: ArtesãoRegistrado: 09/06/09Posts: 146Char no Tibia: Shared Elven

Vlw amigo ajudo muito ^^ continui assim @Heinrich

magera

Ajuda o teu semelhante a levantar a carga, mas não a levá-la
avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 08/01/12Posts: 9

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