Author Topic: WXstatus php script help....  (Read 1907 times)

0 Members and 1 Guest are viewing this topic.

Offline bucks County Weather

  • Senior Member
  • **
  • Posts: 74
    • http://www.backyardweather.org
WXstatus php script help....
« on: November 19, 2014, 02:39:51 PM »
On the WX status page, what would be causing this issue.....and where can I fix it........Something in WD to adjust?
Chris

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9296
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: WXstatus php script help....
« Reply #1 on: November 19, 2014, 03:02:20 PM »
The website link leads to a blog, not a template site, so I'm groping in the dark a bit, but this issue is usually caused by a mismatch between what the template thinks is the date format and what WD is using as the date format.

Try changing in Settings.php the setting for $SITE['WDdateMDY'] to the opposite state (if true, then use false, and vice versa).
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline bucks County Weather

  • Senior Member
  • **
  • Posts: 74
    • http://www.backyardweather.org
Re: WXstatus php script help....
« Reply #2 on: November 19, 2014, 03:31:55 PM »
Didn't change...well it did move the year ahead 69 years....I'm using 24 hour time in the wd program...any bearing or doesn't really matter....

as strange as it seems, its usually about 5am it occurs...(on the rare occasion it will happen later in the morning)...but 5-5:15 is it...
« Last Edit: November 19, 2014, 03:33:50 PM by bucks County Weather »
Chris

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9296
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: WXstatus php script help....
« Reply #3 on: November 19, 2014, 06:02:01 PM »
Ummm  still need an URL to the site to be able to help you resolve the issue.. a screen capture just doesn't have enough info to diagnose the problem.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline bucks County Weather

  • Senior Member
  • **
  • Posts: 74
    • http://www.backyardweather.org
Re: WXstatus php script help....
« Reply #4 on: November 19, 2014, 06:30:19 PM »
Wow....I didn't realize it was an old URL....sorry...its been corrected...


www.backyardweather.org/wxstatus.php
Chris

Offline PaulMy

  • Forecaster
  • *****
  • Posts: 5519
    • KomokaWeather
Re: WXstatus php script help....
« Reply #5 on: November 19, 2014, 07:06:56 PM »
Nice site, looks good.  However
Quote
This site is destined now for extinction as the weather station is failing, and my neighbors are annoyed with the VP2 posing a negative look on the rear yards of my neighborhood. Its just a matter of time.
  Many would say the VP2 looks good, especially when hanging over Niagara Falls, between skyscraper, at the Olympics, etc.  Remind your neighbours of the prestige of Davis ;)  Seriously, I hope you get both issues resolved.

Paul

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9296
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: WXstatus php script help....
« Reply #6 on: November 19, 2014, 09:01:42 PM »
Wow....I didn't realize it was an old URL....sorry...its been corrected...


www.backyardweather.org/wxstatus.php

Looks good now with $SITE['WDdateMDY'] = true; matching the mm/dd/yyyy format shown in the testtags.php

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline bucks County Weather

  • Senior Member
  • **
  • Posts: 74
    • http://www.backyardweather.org
Re: WXstatus php script help....
« Reply #7 on: November 20, 2014, 04:38:24 AM »
The error is back.......yesterday I had changed what you had suggested to "false" which kicked in the Weather Display weather data error (see fig1)..changed back to "true" and all went normal. then this morning I have the error again (fig 2)
Chris

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1986
    • My PWS at Leuven Belgium Europe
Re: WXstatus php script help....
« Reply #8 on: November 20, 2014, 04:58:43 AM »
The error is back.......yesterday I had changed what you had suggested to "false" which kicked in the Weather Display weather data error (see fig1)..changed back to "true" and all went normal. then this morning I have the error again (fig 2)
check your testtags.php
http://www.backyardweather.org/testtags.php?sce=view
Line 64-65 contains the time the PC uploaded the data.
$time =  '00:25';   // current time
$date =  '11/20/2014';   // current date

On http://www.backyardweather.org/  the time is   11/20/2014  04:56am
So WD is either not uploading testtags.php or is uploading it to another place.

Your clientraw.txt has the correct  date/time so WD is running and is uploading at least that file correctly.
http://www.backyardweather.org/clientraw.txt

Wim
« Last Edit: November 20, 2014, 05:00:57 AM by wvdkuil »

Offline bucks County Weather

  • Senior Member
  • **
  • Posts: 74
    • http://www.backyardweather.org
Re: WXstatus php script help....
« Reply #9 on: November 20, 2014, 05:03:15 AM »
Good morning....and thanks for the response. I've seen the error mentioned on WD's site by others also.

Its time for me to get to work....will check things as soon as I get home...

Will check the testtags...


thanks again,,


chrisK
Chris

 

anything