WXforum.net
May 21, 2013, 04:28:42 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
Members: 6615  •  Posts: 178462  •  Topics: 18110
Please welcome Christea, our newest member.
Welcome to the the new hosting for WXforum.net.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Saratoga template & ALTdashboard, ajax not updating  (Read 834 times)
0 Members and 1 Guest are viewing this topic.
ed2kayak
Ed
Forecaster
*****
Offline Offline

Posts: 432


Davis Vantage Pro2 w/12 hr FARS, solar/uv


WWW
« on: August 04, 2012, 03:59:35 PM »

I just noticed today that my dashboard is not updating HERE

I have tried for a couple of hours to track this down. I think it happened sometime after I installed Curly's new alert program & Ken's template update. (index,setting & menubar updated  among others)

Strange thing is my MOBILE page is updating everfy 5 seconds as it should.

Need direction to what I screwed up ajax? dashboard?
Logged

Ed
CoCoRaHS PA-CD-6,  Weather Underground KPAMECHA7, CWOP DW5425
saratogaWX
Administrator
Forecaster
*****
Offline Offline

Posts: 3729


Saratoga, CA, USA Weather - free PHP scripts


WWW
« Reply #1 on: August 04, 2012, 06:28:51 PM »

Hmmm... both your dashboard PHP and AJAX are updating OK for me.  Your wxstatus.php shows the data is current.

Maybe clearing your browser cache or doing a shift-reload of your page will clean the browser to let it show it's working for you...

Best regards,
Ken
Logged

Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
jay_hoehn
Forecaster
*****
Offline Offline

Posts: 422



WWW
« Reply #2 on: August 04, 2012, 06:30:13 PM »

Ed,

It looks like it is working to me.

Jay
Logged

Davis Vantage Pro2 Plus
VVP
VWS
VP Live
Cumulus
WeatherFlash
Image Salsa
Movie Salsa
ed2kayak
Ed
Forecaster
*****
Offline Offline

Posts: 432


Davis Vantage Pro2 w/12 hr FARS, solar/uv


WWW
« Reply #3 on: August 04, 2012, 06:47:42 PM »

dashboard PHP and AJAX are updating OK for me.  Your wxstatus.php shows the data is current.
Best regards,
Ken

Ken,
I was inpatient and put the old index up.
 Now the new index is up (Version 1.01), this is the one not working correctly. Sorry for confusion, as I played w/making various changes today. I'll keep it up to get feedback. My status has always been current. It appears the ajax is not updating w/new page.

Jay, thanks for feedback.
« Last Edit: August 04, 2012, 06:49:13 PM by ed2kayak » Logged

Ed
CoCoRaHS PA-CD-6,  Weather Underground KPAMECHA7, CWOP DW5425
ed2kayak
Ed
Forecaster
*****
Offline Offline

Posts: 432


Davis Vantage Pro2 w/12 hr FARS, solar/uv


WWW
« Reply #4 on: August 05, 2012, 07:10:06 AM »

 Still not working correctly on index page.
http://cvweather.org/index.php is not updating, but others pages are http://cvweather.org/wxforecast.php.

thanks
Logged

Ed
CoCoRaHS PA-CD-6,  Weather Underground KPAMECHA7, CWOP DW5425
Curly
Forecaster
*****
Offline Offline

Posts: 476


WWW
« Reply #5 on: August 05, 2012, 07:20:13 AM »

Quote
It appears the ajax is not updating w/new page.

The file ajaxWDwx.js has numerous lines of text in it about the updates scattered throughout it and a few lines can be possibly corrupting the file.
There is 2427 lines in the ajax file and should it have only 983 lines?


« Last Edit: August 05, 2012, 08:22:49 AM by Curly » Logged
ed2kayak
Ed
Forecaster
*****
Offline Offline

Posts: 432


Davis Vantage Pro2 w/12 hr FARS, solar/uv


WWW
« Reply #6 on: August 05, 2012, 07:34:49 AM »

Quote
It appears the ajax is not updating w/new page.

There is 2427 lines in the ajax file and it should have only 983 lines.

That should be Scotts at Websterweatherlive 's  most current for the alt dash, I'll have to compare to previous versions.
Logged

Ed
CoCoRaHS PA-CD-6,  Weather Underground KPAMECHA7, CWOP DW5425
gwwilk
Southeast Lincoln Weather
Forecaster
*****
Offline Offline

Posts: 508



WWW
« Reply #7 on: August 05, 2012, 08:19:04 AM »

Does index.old.php still function?  If it does, there's nothing wrong with your ajaxWDwx.js and your ajaxdashboard6.php scripts.  The problem lies in something you've eliminated or changed in the index.new.php scripts.  What is the url of the old, functioning script?
Logged

ed2kayak
Ed
Forecaster
*****
Offline Offline

Posts: 432


Davis Vantage Pro2 w/12 hr FARS, solar/uv


WWW
« Reply #8 on: August 05, 2012, 08:36:24 AM »

.  What is the url of the old, functioning script?

Try THIS

Thanks for suggestion, didn't consider posting both.
Logged

Ed
CoCoRaHS PA-CD-6,  Weather Underground KPAMECHA7, CWOP DW5425
gwwilk
Southeast Lincoln Weather
Forecaster
*****
Offline Offline

Posts: 508



WWW
« Reply #9 on: August 05, 2012, 12:38:34 PM »

In your new index.php try setting $useTopWarning = true;

That seems to be the only substantial difference between your new index.php and your old index.php as well as mine.  It probably won't solve the problem, but it's worth a try.
Logged

ed2kayak
Ed
Forecaster
*****
Offline Offline

Posts: 432


Davis Vantage Pro2 w/12 hr FARS, solar/uv


WWW
« Reply #10 on: August 05, 2012, 04:30:28 PM »

In your new index.php try setting $useTopWarning = true;

No change, w/true setting. Thanks for suggestion.
Logged

Ed
CoCoRaHS PA-CD-6,  Weather Underground KPAMECHA7, CWOP DW5425
BurnsvilleWeather
Burnsville, MN USA
Forecaster
*****
Offline Offline

Posts: 709



WWW
« Reply #11 on: August 05, 2012, 09:15:17 PM »

Which version of ajaxWDwx.js are you using and do you have any new (something that wasn't running before) java or flash objects added or changed since you updated. 

Scott
Logged

Scott

www.BurnsvilleWeatherLIVE.com (Formally Webster Weather LIVE)
Home of the Alternative Dashboard and Mobile Dashboard Scripts. Weather Display Scripts and Graphics


Davis VP2 with, UV, Solar, Leaf, Web Cam.
gwwilk
Southeast Lincoln Weather
Forecaster
*****
Offline Offline

Posts: 508



WWW
« Reply #12 on: August 05, 2012, 09:31:05 PM »

Ed, in your new index.php there is no line 122 php closing command '?>', but it's there in the old one.
What's missing in its entirety is this:
Code:
#########################
# End of Page
############################################################################
?>
« Last Edit: August 05, 2012, 09:32:57 PM by gwwilk » Logged

BurnsvilleWeather
Burnsville, MN USA
Forecaster
*****
Offline Offline

Posts: 709



WWW
« Reply #13 on: August 05, 2012, 09:35:37 PM »

Ed, in your new index.php there is no line 122 php closing command '?>', but it's there in the old one.
What's missing in its entirety is this:
Code:
#########################
# End of Page
############################################################################
?>

That would do it!
Logged

Scott

www.BurnsvilleWeatherLIVE.com (Formally Webster Weather LIVE)
Home of the Alternative Dashboard and Mobile Dashboard Scripts. Weather Display Scripts and Graphics


Davis VP2 with, UV, Solar, Leaf, Web Cam.
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.107 seconds with 18 queries.
anything