This topic is locked

Problem with data

12/12/2005 10:18:27 AM
PHPRunner General questions
L
lscosta author

Hi,
Error working Data Error
Tipo de Erro 2048
Descrição do Erro localtime() [function.localtime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. We selected 'America/Sao_Paulo' for '-3.0/no DST' instead
URL localhost/ipadmin/ip_list.php
Arquivo de Erro c:\wamp\www\ipadmin\include\locale.php
Linha com Erro 258
Consulta de SQL select `id_ip`, `host`, `mac`, `Observacao`, `id_status`, `data_vencimento` From `ip`
tks

Leandro <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=2187&image=1&table=forumtopics' class='bbc_emoticon' alt=':(' />

Sergey Kornilov admin 12/13/2005

Leandro,
PHP 5.1 and later needs date.timezone configuration option to be set in php.ini file.

Please open C:\Windows\php.inifile with a text editor and insert the following line there:

date.timezone = "America/Sao_Paulo"



Then restart you webserver.
The full list of supported timezones can be found at:

http://www.php.net/manual/en/timezones.php