WXforum.net

Web Weather => Weather Website PHP/AJAX scripting => Topic started by: K6GKM on September 10, 2021, 06:34:21 PM

Title: Alt Dashboard Record Highs/Lows
Post by: K6GKM on September 10, 2021, 06:34:21 PM
Hi everyone,

I've been using Alt-Dashboard v6.95c as an expanded current conditions page on my site.  I noticed a few weeks ago that the records and averages taken from the NWS sources have been defaulting to -100°F (or 100°F in the case of the record low).  Not sure what happened here, and while I have some rudimentary coding knowledge and can generally find my way around a php document, the issue here is escaping me.

A note - Since I use both the alt dashboard and standard dashboard on my site, the page that includes "ajax-dashboard6.php" also includes "Settings-alt.php" rather than "Settings.php", and "Settings-alt.php" likewise includes "Settings-weather-alt.php" rather than "Settings-weather.php"

Problem can be seen at https://camwx.com/wxcurrentcond.php

Thanks,
Title: Re: Alt Dashboard Record Highs/Lows
Post by: AWL on September 10, 2021, 09:06:21 PM
This might help? https://www.wxforum.net/index.php?topic=42626.msg435013#msg435013 (https://www.wxforum.net/index.php?topic=42626.msg435013#msg435013)


Doug
Title: Re: Alt Dashboard Record Highs/Lows
Post by: K6GKM on September 10, 2021, 10:50:56 PM
That looks like the solution!   I’ll tinker with it in the morning, but I imagine that’ll do the trick.

Thanks!