Page 1 of 1
Graphs not updating
Posted: Wed 14 Sep 2011 1:17 pm
by Jonsey
What is the main cause of the graphs not updating, as the data from my Index page to graphs is not the same. I have also noticed that the cloudbase/rain today/wind rose does not display and the Barometer is not working, but all the images are in the dbimages folder as I have not changed them.
Re: Graphs not updating
Posted: Wed 14 Sep 2011 1:51 pm
by steve
Jonsey wrote:What is the main cause of the graphs not updating, as the data from my Index page to graphs is not the same.
If you mean that the images weren't being uploaded, then that was probably an ftp issue. Looks OK now.
I have also noticed that the cloudbase/rain today/wind rose does not display and the Barometer is not working, but all the images are in the dbimages folder as I have not changed them.
You have something odd going on in the javascript variables near the bottom of the page:
var hwdir = new Array(315);
var hwspd = new Array(3.8);
Those two should be arrays containing vast lists of numbers. Some of your other variables seem a bit odd, too - out of date, maybe. I suggest you look at the supplied gaugesT.htm, and check that the corresponding bits of your page match. And make sure you're using the latest versions of the javascript files.
Re: Graphs not updating
Posted: Wed 14 Sep 2011 2:00 pm
by Jonsey
Cheers Steve, will have a cross reference of the original guagesT and my edited guagesT when I get in, but do not get what could of changed tho as I have been running the edited pages since I created them back in 2009.
Re: Graphs not updating
Posted: Wed 14 Sep 2011 5:22 pm
by steve
I've just looked at the source of your gauges page again, and as far as I can tell, the javascript variables section hasn't changed, and the values bear no relation to your actual data. So I think your 'template' page has numbers in it rather than web tags.