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

No graphs with steel series gauges CumulusMX

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

User avatar
billy
Posts: 260
Joined: Mon 30 Nov 2015 10:54 am
Weather Station: WLL / Davis VP2+
Operating System: RPi-4 bookworm
Location: Gooseberry Hill, Western Australia

Re: No graphs with steel series gauges CumulusMX

Post by billy »

I've searched without success for the web server error log. I'll ask them. In the meantime, root appears to be /u/sites/iinet.net.au/ and I'm not sure how to express that in the setting.
Capture.PNG
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: No graphs with steel series gauges CumulusMX

Post by mcrossley »

If you haven't already, could you just try this in the graph settings...

graphSettings.php:

Code: Select all

$GRAPH['jsonloc'] = "/~lschmitt/Weather/";
$GRAPH['jpgraphloc'] = "/~lschmitt/Weather/jpgraph/";
$GRAPH['jpgraphcache' = "/~lschmitt/Weather/cache";
or

Code: Select all

$GRAPH['jsonloc'] = $_SERVER["DOCUMENT_ROOT"]."Weather/";
$GRAPH['jpgraphloc']     = $_SERVER["DOCUMENT_ROOT"]."Weather/jpgraph/";
$GRAPH['jpgraphcache']   = $_SERVER["DOCUMENT_ROOT"]."Weather/cache/";
The error log will tell you the exact path that is failing.
Last edited by mcrossley on Wed 06 Jan 2016 3:11 pm, edited 1 time in total.
User avatar
billy
Posts: 260
Joined: Mon 30 Nov 2015 10:54 am
Weather Station: WLL / Davis VP2+
Operating System: RPi-4 bookworm
Location: Gooseberry Hill, Western Australia

Re: No graphs with steel series gauges CumulusMX

Post by billy »

tried both of these without luck. I added a / after cache on the first one, OK?
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: No graphs with steel series gauges CumulusMX

Post by steve »

If it's of any help, this is what I have, all using relative paths:

My directory structure is that I have a 'cache' and 'jpgraph' directory immediately under my 'images' directory, and the 'jpgraph' directory contains the jpgraph files and directories directly inside it (i.e. no 'src' directory).

In graphSettings.php:

$GRAPH['jsonloc'] = "../";
$GRAPH['jpgraphloc'] = "jpgraph/";

In jpg-config.inc.php:

define('CACHE_DIR','./cache/');

My '.htaccess' file is in the 'images' directory and I think is the one straight from the download.

I'm using jpgraph 3.5.0b1
Steve
User avatar
billy
Posts: 260
Joined: Mon 30 Nov 2015 10:54 am
Weather Station: WLL / Davis VP2+
Operating System: RPi-4 bookworm
Location: Gooseberry Hill, Western Australia

Re: No graphs with steel series gauges CumulusMX

Post by billy »

thanks for that clarity. I've tried - and failed! I am now firmly convinced this is a server-side problem and will await a response to queries I've put to them. thanks again Steve and Mark. I'll post again if I make any headway.
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: No graphs with steel series gauges CumulusMX

Post by steve »

At least you're not getting 500 server error now.

http://members.iinet.net.au/~lschmitt/W ... empOut.php gives:
2016-01-06 15_48_11-OneNote.png
I'm not sure what permissions you need on the cache directory on your system - mine is 755. I think some ISPs can stop PHP writing files regardless of permissions. You could try setting USE_CACHE to false in the jpgraph config file.
You do not have the required permissions to view the files attached to this post.
Steve
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: No graphs with steel series gauges CumulusMX

Post by mcrossley »

Yes, that is progress. You have your cache folder outside the jpgraph folder rather than inside it as I have done (and Steve I think looking at his config above), so it may be worth looking at the paths you have specified for cache.
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: No graphs with steel series gauges CumulusMX

Post by mcrossley »

I see you had the graphs working at one point, but they are erroring again now?
User avatar
billy
Posts: 260
Joined: Mon 30 Nov 2015 10:54 am
Weather Station: WLL / Davis VP2+
Operating System: RPi-4 bookworm
Location: Gooseberry Hill, Western Australia

Re: No graphs with steel series gauges CumulusMX

Post by billy »

All is working fine. The solution was simple - use a decent web server. This morning I discovered why the one I was using was free - it is provided by my internet provider and they consider it a legacy server and do not maintain it. It became quite clear that the problem was their php settings which I can't access and they don't want to change. The settings on my side were OK - although I often got them wrong in trying to resolve the problem! I really need a lesson in the use of F12.

I transported the site to one that provides a decent web server - at a very modest price - and it set up without a hitch. Over the next little while I plan to customize a bit, and find a lesson on how to redirect a web page.

Steve and Mark - many thanks. I'm sorry this took up so much of your time unnecessarily. The settings required on my side to get it to work are ridiculously simple - even for a novice like me.

Steve,
1. I notice that restarting CumulusMX usually results in a zero value for apparent temperature in the monthly log. Occasionally, the same happens to wind chill. Is this a WMR200 issue - perhaps related to the difference between the station clock and the one in the pc? In Australia, as far as I know, there is no way to automatically synchronize the station clock so it has to be done manually. Are there any work-arounds that involve more than simply editing the monthly log? That requires a restart so it is a bit of a vicious circle, although eventually I jag an instance where the missing value doesn';t appear.

2. And is there a plan for the lovely little moon-phase graphic to appear on the "now" page in MX as in C1?

thanks
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: No graphs with steel series gauges CumulusMX

Post by steve »

billy wrote: I notice that restarting CumulusMX usually results in a zero value for apparent temperature in the monthly log. Occasionally, the same happens to wind chill.
This will because the WMR200 sends its data on a per sensor basis, unlike most stations which send them all at once. If the time comes to do a log update before all of the required items have arrived to calculate apparent temp and wind chill, then the starting value of zero will go into the log. Cumulus normally waits until it has read pressure and outside temperature before starting logging etc; I think I will have to change it for the WMR200 (and 100) so that it has read wind speed too. I'm not sure what Cumulus 1 does.
And is there a plan for the lovely little moon-phase graphic to appear on the "now" page in MX as in C1?
No, because there is no equivalent third party component that I can find for .Net. There are alternatives for web sites, such as this one - http://www.moonconnection.com/moon_module.phtml. Many people use that even with Cumulus 1 as they prefer it to the standard image. I don't think anyone has ever called the standard one "lovely" before, it's usually quite the opposite! :lol:
Steve
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: No graphs with steel series gauges CumulusMX

Post by water01 »

2. And is there a plan for the lovely little moon-phase graphic to appear on the "now" page in MX as in C1?
I did a PHP program that emulates the moon phases in C1. Code and images are in the 10 post in this Topic https://cumulus.hosiene.co.uk/viewtopic.php?f=27&t=13902
Last edited by water01 on Thu 07 Jan 2016 6:11 pm, edited 1 time in total.
David
Image
User avatar
billy
Posts: 260
Joined: Mon 30 Nov 2015 10:54 am
Weather Station: WLL / Davis VP2+
Operating System: RPi-4 bookworm
Location: Gooseberry Hill, Western Australia

Re: No graphs with steel series gauges CumulusMX

Post by billy »

I don't think anyone has ever called the standard one "lovely" before, it's usually quite the opposite
it was autocorrection of little :)

and thanks for the alternatives - i'll look into those
Locked