Thank you Andy I will give it a try … many thanks
From: ossec...@googlegroups.com [mailto:ossec...@googlegroups.com]
On Behalf Of techs...@ecsc.co.uk
Sent: Friday, June 15, 2012 7:41 AM
To: ossec...@googlegroups.com
Subject: [ossec-list] Re: AnaLogi - OSSEC WUI
FYI Guys, AnaLogi v1.1 is now up. A few small tweaks, bug fixes, output to CSV and multi database support.
Any feedback appreciated.
Andy
I don't know if the graph isn't displaying properly. It IS displaying however, and it doesn't look wrong. I changed the first instance of $tmpdate=$rowchart['res_time']; to $tmpdate=intval($rowchart['res_time']); and I am still getting the warnings in toprare.php. We are using RHEL 5.7, and the version of PHP that shipped with that.
On Thursday, June 28, 2012 1:30:19 AM UTC-7, techs...@ecsc.co.uk wrote:Can you amend the first instance and see if it still errors please. If so I will amend the rest. I presume this error is stopping the graphs from displaying properly?
Your error says 'expects long' but php.net documentation says date() expects an integer, so just wondering if it helps in your instance. I will need to see what is causing it, might be different versions of PHP expecting different types?
On Wednesday, June 27, 2012 4:43:14 PM UTC+1, Brett Y wrote:I seem to be getting the error in toprare.php as well at line 51. The line looks similar to line 127 in index_graph.php
On Wednesday, June 27, 2012 1:47:09 AM UTC-7, techs...@ecsc.co.uk wrote:Hi Brett,
I'm wondering if your PHP config is a little different to mine. To test a fix.workaround can you please amend the code at the place shown (index_graph.php line 127)
Change the line from:
$tmpdate=$rowchart['res_time'];
to
$tmpdate=intval($rowchart['res_time']);
If this works PLEASE let me know and I will amend this for the next release.
Many Thanks
Andy
On Tuesday, June 26, 2012 10:24:53 PM UTC+1, Brett Y wrote:I get errors in my apache log that say "date() expects parameter 2 to be long, string given in analogi/php/index_graph.php on line 127"
On Friday, June 15, 2012 5:40:51 AM UTC-7, techs...@ecsc.co.uk wrote:FYI Guys, AnaLogi v1.1 is now up. A few small tweaks, bug fixes, output to CSV and multi database support.
Any feedback appreciated.
Andy