Anyone else seen this? This happened on the 31st and has been going ever since. No changes to the code. Its correct until the 1st ajax update then way too high temps on the histories.
Nice to be back online here, looks like a lot of reading to do!
Scott
Burnsville Weather Live
Alt-Dashboard
Problem is with the "METRIC | IMPERIAL" switch.
This is the html of one such "strange" temp field:
<td align="center" valign="top" style="text-align: center; border: 1px solid red;"> Sta* High<br>
<strong><span style="font-size: 16px">
<span class="convTemp" style="">83.2°F</span>
</span></strong><br> 2015 </td>
When first shown your page contains the data from the testtags as uploaded.
Example :
Sta* High 83.2°F 2015A few seconds later the ajax updates replace that with
Sta* High 181.8°F 2015The original value is recalculated again as if it was in C: 83.2 C is indeed 181.8 F.
You can press the "METRIC | IMPERIAL" switch to metric and you will see the original value which was uploaded in F but now has a C uom.
I could not find the setting for the "METRIC | IMPERIAL" switch to set the original values of the temp it has to convert.
The code as is in
www.burnsvilleweatherlive.com/ajaxWDwx3.js simply converts all values with the span class="convTemp"
So maybe:
1. you changed a
setting somewhere these last days?
2. or uploaded a new version of a script?
3. or removed ajaxWDwx-settings.js which is often used with this dashboard?
If it worked before, it should be some change somewhere.
EDIT: This discussion is about the same problem:
http://www.wxforum.net/index.php?topic=25873.0EDIT: Also the returned HTML from your webserver
- is zipped
- contains TWO slightly different sets of <!DOCTYPE html PUBLI. . .
One uses " which comes from Saratoga script top.php and it is the inner one
and the other one which uses ' end is the outer one - is in UTF-8 although the settings and the generated html specifies content="text/html; charset=ISO-8859-1"
Nr. 3 can be the problem also as the ajaxWDwx3.js code scans for the degree symbol and that is a different character for UTF-8 and ISO-8859-1.
Did you change some settings in cPanel at your webserver?
Or maybe your provider "optimized" the webserver?
Wim