Closed arno-st closed 1 week ago
It's the php group screwing up again and declaring that date must use an integer when they worked fine with a float forever. They keep doing stupid things. So, for flowview we have to write a flowview_date() function or use the updated class instead.
Check out php.net and search for the date function. The red section says it all.
This is fixed now. IPFIX is also fixed. It was horribly broken.
In this error it was also, and mainly relarted to the change on the function date, who whas not accepting anymore a float value, but only an int.
I didn't have time, yet, to look into it, but it's still open.
I'm stuck with this one! I have cacti 1.2.26, flowview from develop branch. And this function give me some trouble to solve:
Inside flow_collector.php line 424, and 425
Also with line 728 and 730 (inside get_sql_prefix)
I got this error in the log
For the get_sql_prefix, I change the call on line 427 from:
To
And it solve this issue ( we just need the year, day and hour, so an int value is ok):
But for the 2 line 424 and 425, I'm can't understand how to solve it.