uh......your reply  makes no sense...it looks like a php coding error on line 
48 of Alerts.php


regards

Steven Jones

Technical Specialist - Linux RHCE

Victoria University, Wellington, NZ

0064 4 463 6272

________________________________________
From: [email protected] [[email protected]] on behalf of 
dan (ddp) [[email protected]]
Sent: Friday, 18 November 2011 9:49 a.m.
To: [email protected]
Subject: Re: [ossec-list] php / timezone error

It gives you the solution in the error:
"You are *required* to use the date.timezone setting or the
date_default_timezone_set() function."

On Wed, Nov 16, 2011 at 9:41 PM, Steven Jones <[email protected]> wrote:
> How to fix this alarm?
>
> [Thu Nov 17 15:35:53 2011] [error] [client 127.0.0.1] PHP Warning:  date(): 
> It is not safe to rely on the system's timezon
> e settings. You are *required* to use the date.timezone setting or the 
> date_default_timezone_set() function. In case you u
> sed any of those methods and you are still getting this warning, you most 
> likely misspelled the timezone identifier. We se
> lected 'Pacific/Auckland' for 'NZDT/13.0/DST' instead in 
> /var/www/html/ossec-wui/lib/Ossec/Alert.php on line 48
>
> regards

Reply via email to