May I suggest displaying Rule names instead of Rule ID's in both the graph
and rows. And also it would be nice to have a drop down menu of all Rule
Names

On Thu, Jun 28, 2012 at 5:53 PM, Brett Y <[email protected]> wrote:

> 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, [email protected] 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, [email protected] 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, [email protected] 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
>>>>>>
>>>>>


-- 
MVH/With regards

Frank
--
Name:         Frank Stefan Sundberg Solli
E-mail:         [email protected]
Web:            http://0x41.me
GPG:            684119F4

Reply via email to