Author Topic: Beta test: AJAX/PHP Saratoga templates for VWS, Cumulus, WeatherLink, WD  (Read 73714 times)

0 Members and 1 Guest are viewing this topic.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9677
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Beta test: AJAX/PHP Saratoga templates for VWS, Cumulus, WeatherLink, WD
« Reply #200 on: February 14, 2011, 10:27:07 AM »
Where in the script do I set the weather software type so the NOAA reports will show up?

http://www.leomaweather.com/include-NOAA-reports.php

Thanks
Mark
Hi Mark,
The NOAA reports setup is in Settings-weather.php but only works for VWS or WeatherLink plugins. See the VWS docs or WeatherLink docs for more info.

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 Mark / Ohio

  • Live from Mars!
  • Forecaster
  • *****
  • Posts: 2511
    • Fairfield County Weather
Re: Beta test: AJAX/PHP Saratoga templates for VWS, Cumulus, WeatherLink, WD
« Reply #201 on: February 15, 2011, 12:14:00 AM »
Ken,

I did not forget about you.  :grin:  Just had the chance last night to finally get started on this.  Did some more tonight and made some progress.  Still a bunch of loose ends to track down but getting there.  Here's what I have so far:

http://www.fairfieldcountyweather.com/wxindex.php

Also have the GR radar page running:

http://www.fairfieldcountyweather.com/wxgr3radar.php

I don't see a link to the GRL3 radar page on the front page.  :-k Am I missing something or a setting?
Mark 
2002 Davis VP I Wireless, WeatherLink (Serial), GRLevel3, VirtualVP, StartWatch, Weather Display, Windows 10


Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9677
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Beta test: AJAX/PHP Saratoga templates for VWS, Cumulus, WeatherLink, WD
« Reply #202 on: February 15, 2011, 10:35:31 AM »
Ken,

I did not forget about you.  :grin:  Just had the chance last night to finally get started on this.  Did some more tonight and made some progress.  Still a bunch of loose ends to track down but getting there.  Here's what I have so far:

http://www.fairfieldcountyweather.com/wxindex.php

Also have the GR radar page running:

http://www.fairfieldcountyweather.com/wxgr3radar.php

I don't see a link to the GRL3 radar page on the front page.  :-k Am I missing something or a setting?
Hi Mark,
Nice progress :)

The
Quote
Warning: fopen(./cache/atom-advisory-OHZ065.txt) [function.fopen]: failed to open stream: Permission denied in /virtual/users/e15854-16792/web/atom-top-warning.php on line 251
message on the home page and wxadvisory.php is due to a permissions problem on the /cache directory .. set permissions on the /cache directory to 766 and that should fix it.

The GR3radar page is in the menu system flyout-menu.xml, but as an HTML comment.  Just change
Code: [Select]
<!--

<item caption="GRLevel3 Radar" link="wxgr3radar.php" title="NEXRAD Radar using GRLevel3" />
-->
to
Code: [Select]
		<item caption="GRLevel3 Radar" link="wxgr3radar.php" title="NEXRAD Radar using GRLevel3" />
and that will let it show up in the menu.

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 Mark / Ohio

  • Live from Mars!
  • Forecaster
  • *****
  • Posts: 2511
    • Fairfield County Weather
Re: Beta test: AJAX/PHP Saratoga templates for VWS, Cumulus, WeatherLink, WD
« Reply #203 on: February 16, 2011, 12:45:52 AM »
...The
Quote
Warning: fopen(./cache/atom-advisory-OHZ065.txt) [function.fopen]: failed to open stream: Permission denied in /virtual/users/e15854-16792/web/atom-top-warning.php on line 251
message on the home page and wxadvisory.php is due to a permissions problem on the /cache directory .. set permissions on the /cache directory to 766 and that should fix it.

Turns out I had to use 777 to get it to work.

The GR3radar page is in the menu system flyout-menu.xml, but as an HTML comment.  Just change
Code: [Select]
<!--

<item caption="GRLevel3 Radar" link="wxgr3radar.php" title="NEXRAD Radar using GRLevel3" />
-->
to
Code: [Select]
		<item caption="GRLevel3 Radar" link="wxgr3radar.php" title="NEXRAD Radar using GRLevel3" />
and that will let it show up in the menu.....


Thanks!  That got that one going too.  Also finished my graph upload settings.  I think the only thing I'm missing now is my NOAA reports.  :grin:
Mark 
2002 Davis VP I Wireless, WeatherLink (Serial), GRLevel3, VirtualVP, StartWatch, Weather Display, Windows 10


Offline LeomaTNWX

  • Senior Contributor
  • ****
  • Posts: 271
    • Leoma, Tn Weather
Re: Beta test: AJAX/PHP Saratoga templates for VWS, Cumulus, WeatherLink, WD
« Reply #204 on: February 18, 2011, 11:24:04 AM »
I am trying to run Curly's ATOM script in the the new templates. It is running great but can someone tell me how to get everything lined up. I have tried everything I know. Here are the links to the two page I need help on.

http://www.leomaweather.com/wxatomzone.php?zone=TNZ094&loc=Lawrence+Tennessee

http://www.leomaweather.com/wxatomsummary.php

Thanks
Mark

Offline Albuquerque Weather

  • Senior Contributor
  • ****
  • Posts: 265
    • Albuquerque Amateur Weather
Re: Beta test: AJAX/PHP Saratoga templates for VWS, Cumulus, WeatherLink, WD
« Reply #205 on: February 21, 2011, 10:42:14 AM »
Hi all

I have tried setting up Space Weather Script.
It works but I get alot of ERROR : 007 and ERROR : 019 it seems randon

http://www.cherokiwi.com/cumulus/wxspace.php

If I goto Kens' site and click on the link it works fine.

Any ideas

Thanks

Ron
« Last Edit: February 21, 2011, 11:31:27 AM by ABQWX »

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9677
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Beta test: AJAX/PHP Saratoga templates for VWS, Cumulus, WeatherLink, WD
« Reply #206 on: February 21, 2011, 01:34:37 PM »
Hi Ron,
It's the image-space-solar-disk.php program that's having the problem.  It looks like they changed the URL for it, so edit your image-space-solar-disk.php to have
Code: [Select]
$ImageURL = 'http://download.hao.ucar.edu/d5/www/latestsmall.disk.gif';
and you should get the image back.

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 Albuquerque Weather

  • Senior Contributor
  • ****
  • Posts: 265
    • Albuquerque Amateur Weather
Re: Beta test: AJAX/PHP Saratoga templates for VWS, Cumulus, WeatherLink, WD
« Reply #207 on: February 21, 2011, 02:42:45 PM »
Thanks Ken

The images dont load at random intervals (for me) have not tried at a diferent location yet.
The error code = Error 019: could not connect to remote image
Dont know if its me the server or the site downloading from.


Ron

Offline n3ouc

  • Contributor
  • ***
  • Posts: 123
    • Air Products Campus Weather
Re: Beta test: AJAX/PHP Saratoga templates for VWS, Cumulus, WeatherLink, WD
« Reply #208 on: March 05, 2011, 05:06:05 PM »
Ken, I now have both my stations running the ajax/php Saratoga Templates/VWS.
http://macungieweather.net/wxindex.php Macungie Area Weather
and
http://macungieweather.net/a/index.php Air Products Campus Weather

I really cannot thank you enough for all your hard work and expertise! It's been fun to learn how to do all this and really sharpened up the web sites. I am working on an alt-dashboard for VWS and we will see what comes of that!  :roll:

Thanks Again,
Mike

Mike Stanton
Air Products Campus Weather

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9677
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Beta test: AJAX/PHP Saratoga templates for VWS, Cumulus, WeatherLink, WD
« Reply #209 on: March 05, 2011, 06:21:36 PM »
You're very welcome, Mike :)

I'm glad you've enjoyed the template set.

I've added both your sites to the list of sites ...

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 jgillett

  • Forecaster
  • *****
  • Posts: 1187
  • Boltek, Win7 Pro, ToA
    • TiggrWeather Phoenix
Re: Beta test: AJAX/PHP Saratoga templates for VWS, Cumulus, WeatherLink, WD
« Reply #210 on: March 06, 2011, 01:03:32 PM »
Hi Ken,

I've posted the complete set on my site (BaseUSA/WD), and everything appears to be working properly (not that I expected anything else with work from you!). It was one of those 'bet'cha can't eat just one' nights. I was up until after 0500 getting things finished. Once I got started the night before I just couldn't stop. There were a few minor burps, but my bad.

Many thanks for your endless contributions!
John
W7JKG

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9677
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Beta test: AJAX/PHP Saratoga templates for VWS, Cumulus, WeatherLink, WD
« Reply #211 on: March 06, 2011, 04:06:18 PM »
Sorry for the insomnia, but glad you had one of those 'I just can't put this down' experiences .. warms the heart of a developer when such enthusiasm is generated :)

Thanks for letting us know, and you're very welcome.. Thank you for your kind words!

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 Andy Thompson

  • Southern Minnesota Live Weather
  • Forecaster
  • *****
  • Posts: 379
  • Madelia and Thompson Farms
    • Southern Minnesota Live Weather
Re: Beta test: AJAX/PHP Saratoga templates for VWS, Cumulus, WeatherLink, WD
« Reply #212 on: March 07, 2011, 07:27:41 AM »
Hey Ken, I just uploaded the latest version of the wxquake.php page. At the top of the page under the header, I get the following errors: Warning: include_once(quake-WORLD-ML.php) [function.include-once]: failed to open stream: No such file or directory in /home/content/35/6589235/html/wxquake.php on line 59

Warning: include_once() [function.include]: Failed opening 'quake-WORLD-ML.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/35/6589235/html/wxquake.php on line 59
Regards,
Andy Thompson
www.somnwx.com



Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9677
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Beta test: AJAX/PHP Saratoga templates for VWS, Cumulus, WeatherLink, WD
« Reply #213 on: March 07, 2011, 12:16:01 PM »
Andy,
I think for a USA template, you didn't need to update the wxquake.php .. that update was for the World template only.

The USA template wxquake.php does an include for quake-USA.php, not for quake-WORLD-ML.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 Stetson1

  • Cordera Weather
  • Forecaster
  • *****
  • Posts: 364
    • Cordera Weather
Just upgraded today and on the NOAA IOD page I get this:
NOAA Image of the Day

Notice: iconv() [function.iconv]: Wrong charset, conversion from `UTF-8 <!DOCTYPE HTML PUBLIC ' to `ISO-8859-1//TRANSLIT' is not allowed in /virtual/users/e16607-17912/web/get-nnvl-iod.php on line 209

Notice: iconv() [function.iconv]: Wrong charset, conversion from `UTF-8 <!DOCTYPE HTML PUBLIC ' to `ISO-8859-1//TRANSLIT' is not allowed in /virtual/users/e16607-17912/web/get-nnvl-iod.php on line 210

Notice: iconv() [function.iconv]: Wrong charset, conversion from `UTF-8 <!DOCTYPE HTML PUBLIC ' to `ISO-8859-1//TRANSLIT' is not allowed in /virtual/users/e16607-17912/web/get-nnvl-iod.php on line 211

Was working in my test environment, but as soon as I uploaded it to my server (E-Rice) it fails. Any ideas?

Todd

Offline Stetson1

  • Cordera Weather
  • Forecaster
  • *****
  • Posts: 364
    • Cordera Weather
Not sure what happened but it appears to have self corrected. So far so good.

T