Ir para conteúdo
Entre para seguir isso  
Arim Claf

Resolvendo erro Timezone no Gesior 0.3.6

Recommended Posts

Arim Claf    0
Arim Claf

Olá pessoal, venho criando meu server e meu website, e enfrentei sérias dificuldades com o frenquente erro:

 

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/Halifax' for '-4.0/no DST' instead in Unknown on line 0.

 

Ou parecido, vi que muita gente tem problemas sérios com esse erro, e não consegui achar na internet a resolução.

Mas, como meu instinto é curioso, desvendei o "grande" mistério desse problema.

Vou postar como resolver pelo Xampp:

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)

tutog.png

Abra o arquivo pelo bloco de notas, e Ctrl+F, procure por "DATE"

Vai achar um nome em maiúscula entre parenteses com a seguinte descrição abaixo:

 

 

; Defines the default timezone used by the date functions

; http://php.net/date.timezone

date.timezone =

 

tuto2j.png

Mude para assim:

; Defines the default timezone used by the date functions

; http://php.net/date.timezone

date.timezone = America/Sao_Paulo.

 

 

 

Depois, acesse:

localhost

ou

localhost:8090 (se você mudou a porta)

e veja o resultado.

Qualquer dúvida, estou à disposição ;)

 

Att,

O. Blaster

Compartilhar este post


Link para o post
Addicted    1
Addicted

Obrigado pela contribuição.

 

Aprovado.

Compartilhar este post


Link para o post
Mickfern    32
Mickfern

Cara, eu nunca sofri este problema com Gesior, mas você resolveu um problema que estava me assombrando à 2 semanas '-'

Site com sql, achei que era foda, só mudar isto ¬¬

Compartilhar este post


Link para o post
patrick_db    0
patrick_db

isso tava no site do mu que to criando mais meu amigo conseguiu resolver ^^

Compartilhar este post


Link para o post
Kekezito_LHP    1
Kekezito_LHP

Ola Da Esse Erro e Fiz Isso Ai q se falo

 

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\characters.php on line 92

 

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\characters.php on line 286

 

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\characters.php on line 286

 

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\characters.php on line 286

 

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\characters.php on line 286

 

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\characters.php on line 286

 

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\characters.php on line 286

 

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\characters.php on line 286

 

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\characters.php on line 286

 

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\characters.php on line 286

 

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\characters.php on line 286

 

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\characters.php on line 356

 

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

Compartilhar este post


Link para o post
caio3001    0
caio3001

Arim Claf Fiz Tudo Como o Senhor falou ai e continua o bug sera que poderia me ajudar ?!

 

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 148

Compartilhar este post


Link para o post
Falling    0
Falling

O Meu tambem da na msm coisa =[

Compartilhar este post


Link para o post
PHBS    0
PHBS

Galera, vocês precisam mudar isso e depois que mudar e salvar o arquivo php.ini reiniciar o apache, dar stop e start no xampp control panel...Espero ter ajudado....

Compartilhar este post


Link para o post
HeelFidelis    0
HeelFidelis

Olha entendi tudo direitinho vlw ae , só que na hora de estalar o GEISOR da os seguintes erros : Step 3

Parse error: syntax error, unexpected ';', expecting T_FUNCTION in

Nesse ai de cima falaram pra eu trocar config trokei pelo que mandaram mais ate ai tudo bem so que sai esse erro e vem outro no step 3

Can't connect to SQLite database Alguem sabe resposta definitiva pra arrumar meu problema ? Gostaria de uma resposta Rapida .

Presizar pode mandar msg pra mim off ou no topico vlws :]

Compartilhar este post


Link para o post
FenixAdm    0
FenixAdm

ae eu sei o problema de vcs, tava com o mesmo problema mais descobri oq tem q fazer galera, simplesmente removam o ponto [.] que tem no final do America/Sao_Paulo. ai ficara assim America/Sao_Paulo e pronto rodara certinhu eu fiz e deu certo ;) vlw

Compartilhar este post


Link para o post
nitrox509    0
nitrox509

galera to com esse erro na parte war do site! Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'g.war_time' in 'field list'' in C:\xampp\htdocs\wars.php:56 Stack trace: #0 C:\xampp\htdocs\wars.php(56): PDO->query('?? SELECT g....') #1 C:\xampp\htdocs\index.php(246): include('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\wars.php on line 56

Compartilhar este post


Link para o post
Visitante
Este tópico está impedido de receber novos posts.
Entre para seguir isso  
  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×