Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Charts and gauges on my website

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

seggins
Posts: 61
Joined: Sat 12 Jul 2014 4:26 am
Weather Station: Instromet
Operating System: Windows 10 1903
Location: Cullercoats
Contact:

Re: Charts and gauges on my website

Post by seggins »

Steve,

This strange because that file is present on the website and is being updated - as are all the other json files.
They are all in the CumulusMX folder with everything else. Should they be in a sub folder perhaps?
Regards
John
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Charts and gauges on my website

Post by mcrossley »

You need to talk to your hosting provider and ask them to enable the JSON MIME type on the web server.
seggins
Posts: 61
Joined: Sat 12 Jul 2014 4:26 am
Weather Station: Instromet
Operating System: Windows 10 1903
Location: Cullercoats
Contact:

Re: Charts and gauges on my website

Post by seggins »

Scripting has been enabled on the site.
Still no charts.
Regards
John
seggins
Posts: 61
Joined: Sat 12 Jul 2014 4:26 am
Weather Station: Instromet
Operating System: Windows 10 1903
Location: Cullercoats
Contact:

Re: Charts and gauges on my website

Post by seggins »

Gauges are working fine. Graphs are not.
Here is what is in CumulusMX folder on the website:
You do not have the required permissions to view the files attached to this post.
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Charts and gauges on my website

Post by mcrossley »

mcrossley wrote:You need to talk to your hosting provider and ask them to enable the JSON MIME type on the web server.
Have you done this?
seggins
Posts: 61
Joined: Sat 12 Jul 2014 4:26 am
Weather Station: Instromet
Operating System: Windows 10 1903
Location: Cullercoats
Contact:

Re: Charts and gauges on my website

Post by seggins »

Yes, did that. They did not seem to understand what I wanted. I enabled pnp(?) on the site although the significance of that escapes me.
All I want is the thing to work and they keep telling me to write "scripts" and offer examples but all they did was stop the whole site with an error 500.
My last post is what is in the CumulusMX folder in the hope that someone can tell me what is missing.
Regards
John
seggins
Posts: 61
Joined: Sat 12 Jul 2014 4:26 am
Weather Station: Instromet
Operating System: Windows 10 1903
Location: Cullercoats
Contact:

Re: Charts and gauges on my website

Post by seggins »

Update:

All is working perfectly now. A great guy called will at fast hosts put it right.
It was all due to something called ASP which I don't understand.
Thanks Steve and mcrossley for your patience and help for this old duffer here!
Regards
John
User avatar
ConligWX
Posts: 1835
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04.1 LTS
Location: Bangor, NI
Contact:

Re: Charts and gauges on my website

Post by ConligWX »

Mark I have a similar issue, though website is running on NAS.

PHP 5.6.23 / Apache 2.4.20

Any thoughts as to what I need to do? Gauges are fine, but charts on popups are broken.
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Charts and gauges on my website

Post by mcrossley »

I'll need a bit more to go Simon...
Are you suing the SQL or JSON version of the graphs?
Where are the graph scripts, jpgraph, json files etc.?
Do you have any idea where it is failing?
What settings are you using?
Have you checked your servers Apache error log - that should give you some clues.
User avatar
ConligWX
Posts: 1835
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04.1 LTS
Location: Bangor, NI
Contact:

Re: Charts and gauges on my website

Post by ConligWX »

Hi Mark

JSON i think...

Graphs scripts http://www.conligwx.org/lib/steelseries/scripts

Since my NAS is locked down apache logs are hard to get (if they log at all)

I do have Virtual Hosts enabled on my webserver since I have multiple domains. I wonder if that is screwing up the paths.

Include graph data files is enabled, and JSON files are in my root web folder.

I'm not that fussed to fix it tbh, is there anyway I can remove just the broken graphs from the popup window totally?
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Charts and gauges on my website

Post by steve »

Toxic17 wrote:is there anyway I can remove just the broken graphs from the popup window totally?
In the config section near the start of gauges.js, set showPopupGraphs to false.
Steve
User avatar
ConligWX
Posts: 1835
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 24.04.1 LTS
Location: Bangor, NI
Contact:

Re: Charts and gauges on my website

Post by ConligWX »

steve wrote:
Toxic17 wrote:is there anyway I can remove just the broken graphs from the popup window totally?
In the config section near the start of gauges.js, set showPopupGraphs to false.
Thanks for the help.
tomron
Posts: 15
Joined: Thu 08 Sep 2016 3:40 pm
Weather Station: WS1080
Operating System: Win10

Re: Charts and gauges on my website

Post by tomron »

Hello!

my two cents...

It would be very helpfull to state that the local path to realtimegaugesT.txt should be defined with the relative path from CumulusMX.exe --> "web\realtimegaugesT.txt" :!:

restart the Cumulus application after changes have been done to the stettings

Active Mode (FTP) did prohibit upload to the FTP server
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Charts and gauges on my website

Post by steve »

tomron wrote:It would be very helpfull to state that the local path to realtimegaugesT.txt should be defined with the relative path from CumulusMX.exe --> "web\realtimegaugesT.txt" :!:
It doesn't have to be a relative path, the full path can be specified. I've updated the instructions to give the two forms of relative path that can be used, depending on the OS. At some point I will get MX to handle it in the same way as realtime.txt, so this additional config will not be be necessary.
restart the Cumulus application after changes have been done to the stettings
You shouldn't need to restart Cumulus to pick up changes to the extra files config, but it's a good idea in general to restart MX after changing settings, as the MX FAQ points out, until I get around to adding all the code to apply the changes dynamically.
Active Mode (FTP) did prohibit upload to the FTP server
For you, quite possibly, but not for everyone. Some people need to use active FTP mode.
Steve
Locked