Page 2 of 2
Re: No graphs with steel series gauges CumulusMX
Posted: Wed 06 Jan 2016 12:51 pm
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
Re: No graphs with steel series gauges CumulusMX
Posted: Wed 06 Jan 2016 2:21 pm
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.
Re: No graphs with steel series gauges CumulusMX
Posted: Wed 06 Jan 2016 3:00 pm
by billy
tried both of these without luck. I added a / after cache on the first one, OK?
Re: No graphs with steel series gauges CumulusMX
Posted: Wed 06 Jan 2016 3:23 pm
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
Re: No graphs with steel series gauges CumulusMX
Posted: Wed 06 Jan 2016 3:44 pm
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.
Re: No graphs with steel series gauges CumulusMX
Posted: Wed 06 Jan 2016 3:50 pm
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.
Re: No graphs with steel series gauges CumulusMX
Posted: Wed 06 Jan 2016 4:39 pm
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.
Re: No graphs with steel series gauges CumulusMX
Posted: Wed 06 Jan 2016 7:11 pm
by mcrossley
I see you had the graphs working at one point, but they are erroring again now?
Re: No graphs with steel series gauges CumulusMX
Posted: Thu 07 Jan 2016 8:40 am
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
Re: No graphs with steel series gauges CumulusMX
Posted: Thu 07 Jan 2016 9:49 am
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!

Re: No graphs with steel series gauges CumulusMX
Posted: Thu 07 Jan 2016 9:55 am
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
Re: No graphs with steel series gauges CumulusMX
Posted: Thu 07 Jan 2016 2:09 pm
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