baldit 0 Denunciar post Postado Junho 29, 2011 Olá, Instalei o OpenSouce OsClass em minha hospedagem hoje, a instalação ocorreu tudo bem, porém quando algum usuário vai se registrar aparece uma mensagem: 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 'BRT/-3.0/no DST' instead in /home/class/public_html/oc-includes/osclass/utils.php on line 298 Para vocês verem a mensagem melhor, registre-se e veja o que pode estar acontecendo.. eu realmente não sei o que fazer... O link para se registrar é esse: http://gamerclass.com.br/index.php?page=register&action=register Caso precise de acesso na hospedagem, só me falar! :) Obrigado Compartilhar este post Link para o post Compartilhar em outros sites
lucasao 5 Denunciar post Postado Junho 29, 2011 Você tem que setar um timezone: date_default_timezone_set('America/Sao_Paulo'); http://www.php.net/manual/en/function.date.php Compartilhar este post Link para o post Compartilhar em outros sites
Leozitho 81 Denunciar post Postado Junho 29, 2011 Coloque isso no início do arquivo: date_default_timezone_set('America/Sao_Paulo'); Compartilhar este post Link para o post Compartilhar em outros sites
baldit 0 Denunciar post Postado Junho 29, 2011 Coloque isso no início do arquivo: date_default_timezone_set('America/Sao_Paulo'); Deu certo! Obrigado Compartilhar este post Link para o post Compartilhar em outros sites