Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Getting wxssgauges.php to Work
Moderator: saratogaWX
-
- Posts: 92
- Joined: Tue 16 Jun 2015 2:07 pm
- Weather Station: Davis VP2
- Operating System: Raspian, Win7 Pro
- Location: Boulder, CO
- Contact:
Getting wxssgauges.php to Work
I have the gauges working on my website ( boulderwx.com/gauges.htm), but would like to get them working in the Saratoga templates which I am using on the rest of the site. Realtimegauges.txt and gauges-ss.htm are being updated in the root directory of the site. The SteelSeries gauges also work from the root directory (boulderwx/gauges-ss.htm). However to get wxssgauges to operate I believe I need gauges-ss-basic-inc.php to update. I tried to follow the directions online and have edited ssg/scripts/gauges.js to point to the relevant paths and looked into various .js and gauges-ss.css files to see if there were paths that seemed faulty, but just have not found the problem. Any advice would be appreciated.
Tony Catalano
www.apcat.org
www.boulderwx.com
www.boulderweather.org
Tony Catalano
www.apcat.org
www.boulderwx.com
www.boulderweather.org
Best Regards,
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
- saratogaWX
- Posts: 1198
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Getting wxssgauges.php to Work
Your wxssgauges.php page is looking for (and not finding):
scripts/steelseries_tween.min.js
scripts/language.min.js
scripts/gauges.js
scripts/RGraph.common.core.min.js
scripts/RGraph.rose.min.js
Your webserver is returning a index.php instead for those page(s) -- maybe a 404-Not Found response?
Put those scripts in ./scripts/ and your page should work.
scripts/steelseries_tween.min.js
scripts/language.min.js
scripts/gauges.js
scripts/RGraph.common.core.min.js
scripts/RGraph.rose.min.js
Your webserver is returning a index.php instead for those page(s) -- maybe a 404-Not Found response?
Put those scripts in ./scripts/ and your page should work.
- saratogaWX
- Posts: 1198
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Getting wxssgauges.php to Work
And.. trying check-fetch-times.php?show=versions yields
That permisssion-denied error is a problem. You're running an old version of check-fetch-times.php utility.. I suggest you download a copy from [https://saratoga-weather.org/wxtemplate ... p?sce=view]here[/url] and try it. You may have multiple scripts that need updating...check-fetch-times.php Version 1.14 - 06-Jul-2015
Included Settings.php time=0.013 secs.
..fetching recent version information.
GET /wxtemplates/template-version-info.txt HTTP/1.1
Host: saratoga-weather.org Port: 80 IP=74.208.149.102
Network error: Permission denied (13)
HTTP stats: dns=0.241 conn=0.000 put=n/a get( blocks)=n/a close=n/a total=0.241 secs
fetch function elapsed= 0 secs.
RC=, bytes=0
------------
Headers returned:
------------
Skipped cache write to ./cache/template-version-info.txt file.
Error: ./cache/template-version-info.txt file is not complete..skipping testing.
-
- Posts: 92
- Joined: Tue 16 Jun 2015 2:07 pm
- Weather Station: Davis VP2
- Operating System: Raspian, Win7 Pro
- Location: Boulder, CO
- Contact:
Re: Getting wxssgauges.php to Work
Many thanks for the great feedback & suggestions. I checked the scripts folder and all the files you listed are present already. I'll set about updating immediately. Regarding permissions, the files were set to 644, so just read & write. Is that OK?
Best Regards
A. Catalano
Best Regards
A. Catalano
Best Regards,
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
- ConligWX
- Posts: 1632
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 22.04 LTS
- Location: Bangor, NI
- Contact:
Re: Getting wxssgauges.php to Work
to check it is working just goto:acatalano wrote:Many thanks for the great feedback & suggestions. I checked the scripts folder and all the files you listed are present already. I'll set about updating immediately. Regarding permissions, the files were set to 644, so just read & write. Is that OK?
Best Regards
A. Catalano
http://www.apcat.org/check-fetch-times. ... w=versions
you'll see
Code: Select all
check-fetch-times.php Version 1.14 - 06-Jul-2015
Included Settings.php time=0.013 secs.
..fetching recent version information.
GET /wxtemplates/template-version-info.txt HTTP/1.1
Host: saratoga-weather.org Port: 80 IP=74.208.149.102
Network error: Permission denied (13)
HTTP stats: dns=0.001 conn=0.000 put=n/a get( blocks)=n/a close=n/a total=0.001 secs
fetch function elapsed= 0 secs.
RC=, bytes=0
------------
Headers returned:
------------
Skipped cache write to ./cache/template-version-info.txt file.
Error: ./cache/template-version-info.txt file is not complete..skipping testing.
yep that looks like you have a permission problem.
looks like your site will no connect outwards to Host: saratoga-weather.org Port: 80 IP=74.208.149.102
also:
Error: ./cache/template-version-info.txt file is not complete.
what is the perms on your cache folder? try 755
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
-
- Posts: 92
- Joined: Tue 16 Jun 2015 2:07 pm
- Weather Station: Davis VP2
- Operating System: Raspian, Win7 Pro
- Location: Boulder, CO
- Contact:
Re: Getting wxssgauges.php to Work
Thanks very much for the additional info. The problem with communicating with Saratoga is fixed and the update list & text file is created. I keep forgetting that my host requires me to "open up" and allow a connection to a specific IP address. That is now done. I've updated all (except one that appears minor) the new templates today. I'm using the new wxindex.php renamed to index.php. Unfortunately no joy as regards the wxssgauges.php yet. Please note I am doing all these changes to www.boulderwx.com, not (yet) to apcat.org. Also, boulderweather.org is aliased to boulderwx.com
Best Regards,
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
-
- Posts: 92
- Joined: Tue 16 Jun 2015 2:07 pm
- Weather Station: Davis VP2
- Operating System: Raspian, Win7 Pro
- Location: Boulder, CO
- Contact:
Re: Getting wxssgauges.php to Work
...and one more thing...Cache has been set to 755 all along
Best Regards,
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
-
- Posts: 92
- Joined: Tue 16 Jun 2015 2:07 pm
- Weather Station: Davis VP2
- Operating System: Raspian, Win7 Pro
- Location: Boulder, CO
- Contact:
Re: Getting wxssgauges.php to Work
...and most of the files in root have 644 permissions (read/write by user only, read by others. Not sure if that is important. Other than wxssgauges.php site is working fine.
Best Regards,
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
- ConligWX
- Posts: 1632
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 22.04 LTS
- Location: Bangor, NI
- Contact:
Re: Getting wxssgauges.php to Work
inside wxssgauges.php can you check that
and the folder is there and has content in it?
Code: Select all
$ssgDir = './lib/steelseries/';
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
-
- Posts: 92
- Joined: Tue 16 Jun 2015 2:07 pm
- Weather Station: Davis VP2
- Operating System: Raspian, Win7 Pro
- Location: Boulder, CO
- Contact:
Re: Getting wxssgauges.php to Work
So... wxssgauges.php has $ssgDir='./ssg/ not /lib/steelseries. I have been focusing on ./ssg as the directory where the "action" was. Looks like I made a left turn instead of a right turn somewhere along the way... So what should the directory structure and file content be? I'll show what I have now in another post...
Last edited by acatalano on Tue 09 Jan 2018 2:19 pm, edited 1 time in total.
Best Regards,
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
-
- Posts: 92
- Joined: Tue 16 Jun 2015 2:07 pm
- Weather Station: Davis VP2
- Operating System: Raspian, Win7 Pro
- Location: Boulder, CO
- Contact:
Re: Getting wxssgauges.php to Work
My current file structure for which wxssgauges.php does not work is:
./lib/highstock
./lib/jquery
./lib/steelseries/css,images,scripts
no other files within lib; all files are within those folders.
then:
./ssg/css,fonts,images,scripts
and within ./ssg the files gauges-ss-basic-inc.php, gauges-ss-basic.php, gauges-ss.htm, gauges-sst.htm, realtimegauges-longpoll.php, realtimegauges.txt, realtimegauges.txttmp, steelseriesVWSjson.php
I have another realtimegauges.txt in root and have been updating both as part of an experiment to see what works.
I'm guessing from your question that these "loose" files within ./ssg/ should be in ./lib/steelseries?
./lib/highstock
./lib/jquery
./lib/steelseries/css,images,scripts
no other files within lib; all files are within those folders.
then:
./ssg/css,fonts,images,scripts
and within ./ssg the files gauges-ss-basic-inc.php, gauges-ss-basic.php, gauges-ss.htm, gauges-sst.htm, realtimegauges-longpoll.php, realtimegauges.txt, realtimegauges.txttmp, steelseriesVWSjson.php
I have another realtimegauges.txt in root and have been updating both as part of an experiment to see what works.
I'm guessing from your question that these "loose" files within ./ssg/ should be in ./lib/steelseries?
Best Regards,
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
- ConligWX
- Posts: 1632
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 22.04 LTS
- Location: Bangor, NI
- Contact:
Re: Getting wxssgauges.php to Work
it really depends on YOUR file structure AND what it say in the the contents of the file called wxgauges.php LINE 44:acatalano wrote:I'm guessing from your question that these "loose" files within ./ssg/ should be in ./lib/steelseries?
Code: Select all
$ssgDir = './lib/steelseries/'; // set to relative directory location of the SteelSeries gauge directory
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
-
- Posts: 92
- Joined: Tue 16 Jun 2015 2:07 pm
- Weather Station: Davis VP2
- Operating System: Raspian, Win7 Pro
- Location: Boulder, CO
- Contact:
Re: Getting wxssgauges.php to Work
I had the wxssgauges.php path set to ./ssg/ NOT ./lib/steelseries/ making that change solved the problem!!!!!!!!!!!!!!! I was way too focused on the contents of the ssg folder, and blinded myself to the correct path (so to speak). Cannot thank you enough!
The (additional) silver lining is that it got me to update the site which I have been putting off!
The (additional) silver lining is that it got me to update the site which I have been putting off!
Best Regards,
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
- ConligWX
- Posts: 1632
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 22.04 LTS
- Location: Bangor, NI
- Contact:
Re: Getting wxssgauges.php to Work
hey now worries, we all get confused from time to time, glad you got it sorted.acatalano wrote:I had the wxssgauges.php path set to ./ssg/ NOT ./lib/steelseries/ making that change solved the problem!!!!!!!!!!!!!!! I was way too focused on the contents of the ssg folder, and blinded myself to the correct path (so to speak). Cannot thank you enough!
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
-
- Posts: 92
- Joined: Tue 16 Jun 2015 2:07 pm
- Weather Station: Davis VP2
- Operating System: Raspian, Win7 Pro
- Location: Boulder, CO
- Contact:
Re: Getting wxssgauges.php to Work
Sooo...one step forward but two back. After all was said and done the windrose was blank, so I thought I'd work on that. I could not find the file windrose.js anywhere within the scripts subdirectory or anywhere else. I downloaded the latest steelseries files and realized that several of the files were newer than what I was using, so I uploaded them to /lib/steelseries/. Things pretty much fell apart there. Now wxssgauges.php does not work anymore.
I believe I have the steelseries gauges now ( and have been) located in two directories: ./ssg/ and ./lib/steelseries/ and that may be part, if not all the trouble. Even though I have the realtimegauges.txt updating, no data is getting read; the gauges display but the indicators do not move.
I thought I finally understood what was happening, but that isn't the case now.
I believe I have the steelseries gauges now ( and have been) located in two directories: ./ssg/ and ./lib/steelseries/ and that may be part, if not all the trouble. Even though I have the realtimegauges.txt updating, no data is getting read; the gauges display but the indicators do not move.
I thought I finally understood what was happening, but that isn't the case now.
Best Regards,
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965
Anthony Catalano
Boulder, Colorado, USA
Webcam & Weather at:
http://www.boulderwx.com, http://www.apcat.org, http://www.boulderweather.org
Blitzortung Lightning Detector Station 1965