Errors on the metric Compare page
The graph does not show (broken image icon) and there are some other PHP errors showing up in the Mariner Aggregate Data Table, probably just to do with no data (but it looks rather bad).
Code:
Warning: Division by zero in /functions.php on line 15 |
Re: Errors on the metric Compare page
Ah. I forgot this would happen in metric mode. I'll try and fix it soon. Thanks.
|
Re: Errors on the metric Compare page
Fixed.
|
Re: Errors on the metric Compare page
Table looks good, I still don't see the graph though. If you view the graph by itself it comes up as an HTML document with "Warning: Division by zero in /home/gh/public_html/compare/mileage/functions.php on line 15" three times and then some helpful tips for fixing it.
|
Re: Errors on the metric Compare page
Which graph? The one on the main database page? That shows fine for me... The Mariner graph shouldn't show but there isn't yet a link to that page.
|
Re: Errors on the metric Compare page
Strange... I'm still getting a broken graphic and the "image" in it's own window comes up as an error page, same in a few browsers.
https://www.greenhybrid.com/compare/...?system=Metric Imperial and US show up fine. here's the content of the page I get, in case it's not showing up for you: Code:
<br /> |
Re: Errors on the metric Compare page
Oh, I see what you mean now. I forgot the graph is different in metrics. The problem is that the Mariner currently has no data. It should show up as 0 MPG but in metrics the 0 goes in the denominator, causing a basic mathematics issue.
I could take the Mariner out of the graph right now but to be honest that's going to be a hassle. I'd think maybe we should just wait until there's a car or two and I can activate the statistics. Where are those Mariner drivers? Have they not hit the roads!? |
Re: Errors on the metric Compare page
Ok, that's what I figured, based on the error, but I thought maybe I was seeing something you weren't, and that would probably mean stranger gremlins.
|
All times are GMT -7. The time now is 05:20 PM. |
© 2024 MH Sub I, LLC dba Internet Brands