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 >>>> >>>
