Sandaysoft

Support forum for Cumulus weather station software
It is currently Thu Jun 20, 2013 8:31 am
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Mouse over charts not updating
PostPosted: Wed Jun 27, 2012 6:25 pm 
Offline

Joined: Sat Jan 29, 2011 7:08 pm
Posts: 6
Location: Durham, Co Durham
Weather Station: Davis VP2 Plus
Operating System: Windows 7 and most others
Hi, these gauges are really great and after showing them to friends on my site they think I am a master programmer! Appropriate citations are included.

I am having one strange problem though. The mouse over charts show the correct chart when you first go to thes page from any browser or PC. When you return some time later You still get the original chart. I have checked and the jsp points to the right images directory and it finds the right image first time. The text above the charts updates fine and in real time.

It seems like the first chart you look at gets cached and I thought it must be a browser/PC setting but after many browsers & PC's they all show the same behaviour so it must be something I have done wrong.

Lost for things to check, can anybody help?

Thanks

_________________
Stewart

Image


Top
 Profile  
 
 Post subject: Re: Mouse over charts not updating
PostPosted: Wed Jun 27, 2012 10:21 pm 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2596
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
Hmm, there is supposed to be some cache busting code in there, the charts only update every 15 minutes by default, but it should create a unique URL each time.

I don't have time to look tonight, but I may have some time tomorrow.

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: Mouse over charts not updating
PostPosted: Fri Jun 29, 2012 8:48 pm 
Offline

Joined: Sat Jan 29, 2011 7:08 pm
Posts: 6
Location: Durham, Co Durham
Weather Station: Davis VP2 Plus
Operating System: Windows 7 and most others
Hi Mark

Your post gave me a clue as to what to look for and I have fond the cache busting line though I don't understand it! Whilst working things through though I think the issue is to do with the update timer and the initial update. I also looked at Steve's page and it seems to display the same behavior as mine.

Go to a page and show the Steel graphs. Close browser and when you go back, next day or when ever, you get the cached graph. Leave the browser open for a period that covers both the Steel gauge update and the update of the graph within Cumulus and it updates fine.

So the issue seems to be the initial return to the gauge page which displays the cached graph. I have been trying to work out the logic of what gets reset when you visit a page which I think is part of the "first time" time routine but not got there yet. I am not a programmer in any way! Could it be that when you go to the Gauges page on each browser session the cache busting code is not being run?

Thanks

_________________
Stewart

Image


Top
 Profile  
 
 Post subject: Re: Mouse over charts not updating
PostPosted: Sat Jun 30, 2012 7:36 am 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2596
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
OK, I do not get the problem on my page, but that is running a test version of 1.6.7 so I obviously spotted this and fixed it at some point :roll: The problem is I never released that version as I started work on v2 instead.

I really need to get my finger out and release v2 of the scripts, they are almost there, just some language switching bits to finish off.

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: Mouse over charts not updating
PostPosted: Sun Jul 01, 2012 7:44 pm 
Offline

Joined: Sat Jan 29, 2011 7:08 pm
Posts: 6
Location: Durham, Co Durham
Weather Station: Davis VP2 Plus
Operating System: Windows 7 and most others
Mark

Cut and pasted all the bits that looked relative to me from your site but nothing has made any difference. Look forward to v2!

By the way, if your site is based on V2, did you know that if viewed using Firefox the wind run counter from the Wind rose dial ends up at the far to right of the page rather than in the bottom of the dial. Looks fine on every other browser I have tried.

Stewart

_________________
Stewart

Image


Top
 Profile  
 
 Post subject: Re: Mouse over charts not updating
PostPosted: Sun Jul 01, 2012 7:50 pm 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2596
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
I spotted the FF problem the other day, thanks for reminding me I need to fix it - I changed how I overlay the wind rose components on the current page. A CSS problem.

V2 is on a separate test page ;)

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: Mouse over charts not updating
PostPosted: Mon Jul 02, 2012 12:35 pm 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2596
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
The FF problem should be fixed now?

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: Mouse over charts not updating
PostPosted: Mon Jul 02, 2012 3:10 pm 
Offline
User avatar

Joined: Sun Jul 03, 2011 6:23 pm
Posts: 326
Location: Eastleigh, Hampshire, UK
Weather Station: Davis VP2 - 24hr FARS
Operating System: Windows 7 - 64 bit
Yep :)

_________________
Duke

Nightingale Weather PHP
Eastleigh, Hampshire, UK


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group