Thank You David and Mark!After Your advices, I got those graphs to work. I changed those pic addresses in gauges.js, and after that they started to work. Only one thing, which is not a big thing is those Windspeed and Cloudbase values. They are different in those graphs than my page's values are (wind is m/s, graph draws mph. Cloudbase is m, graph draws ft). Is it possible to change those graph values? If it is not, or if it is big work, then those values stay. I am so far very grateful for your help. Thank You once more.

Good morning Steve!Thank you for your answer in yesterday evening. I was in a sleep then... But just a moment ago, I found your answer, and I made those changes that you recommended to my problem. And now this problem is corrected. Everything is o.k. now. Thank You Steve. And special thanks for this CumMx. This is really good program. Now I begin to study how this program can be used to make those ftp:s and SQL uploads. Now I use Toolbox and cronjob. It should be fine, if I could do everything with one program. Thank you very much to you Steve.

I've been busy with other projects lately so have not looked at my site for a few months. Looking today the graph images are no longer being generated on my site although locally works as they did when I installed them. I have re-uploaded all the required files from a previous working back up but the same errors are displayed.

When viewing the php graph file directly there are various time related errors, here's a link to one of the php files -graphTempOut.php

Possibly your server's PHP version has been upgraded, this is a 'feature' on later versions? As Steve said, on newer versions of PHP set the server default TZ in our php.ini file - you can then override it in individual scripts if need be.

New addition - graphWindRose.php - For server-side dynamic generation of a Windrose plot .png when using CumulusMX.

First, I want to thank user Mark Crossley (mcrossley) for his excellent .php scripts for the graph scripts from the CumulusMX JSON files. I was running Cumulus and when I converted to CumulusMX, I was missing all the .png files needed for the Saratoga/Cumulus scripts. Mark's graphs filled the void, perfectly! At any rate, the only thing missing was a Windrose .png file. With the Saratoga/Cumulus scripts, a Windrose is used on the page that is launched when the Almanac/Weather Trends link is clicked.

Using mcrossley's scripts as a basis, I created a new .php script that will generate the Windrose from the CumulusMX JSON files. Here is the result:

What's needed:

1.) Mark Crossley's original package for graphic files. Download from 1st posting by Mark on this subject.2.) jpgraph-3.5.0b1 - Available here: http://jpgraph.net/download/ (Only the src directory is needed which contains a windrose chart)3.) Modify the jpgraph_windrose.php file to remove the import of 'jpgraph_glayout_vh.inc.php'

5.) You may need to locate several TTF fonts found on the internet to this location. Depends if you get any font errors.6.) Download my graphWindRose.php file and place where you put Mark's other graphic scripts. For me this was /cumulus/images/7.) Add a line to your .htaccess file to allow calling the script by the .png alias

<?php/*! * Simple static trend graphs for Cumulus MX * * Created by Mark Wittl, January 2016 * based on originals by Mark Crossley, January 2015 * * Released under GNU GENERAL PUBLIC LICENSE, Version 2, June 1991 * See the enclosed License file * * File encoding = UTF-8 * */

require_once 'graphSettings.php';

$name = basename($_SERVER['PHP_SELF'], '.php').'.png';

//fetch the data$w1 = get_data('wdir');$w2 = get_data('wind');

$datay = $w1['bearing'];//$datay1 =$w2['wspeed'];$datay1 =$w2['wgust'];//**************************************************************************************************************************************************//You have to call two variables from the clientraw, the winddir($datay) and the speed($datay1).//The rest of the script is clearly explained at the jpgraph website.

// Define the data range array for the windrose, this needs to be done// ahead of time because some of the computational aspects require this range$wind_range_max = $max_wind < 20 ? 25:$max_wind;$data_range_array = array(1,5,10,15,20,$wind_range_max);

// Loop through dirction array based on direction keys and calculate the histogram// stats for each array.foreach ($direction_keys as $direction) {

// Set up counter to determine how many data points there are within each // direction array and wind range. for ($ii = 0; $ii <= 5; $ii++){ $count_data[$ii] = 0; }

You need to edit the JPGraph config file to enable caching and point it at your cache folder. Then edit the graphSettings.php script and set the cache folder and jpgraph fodler locations in there.

I am struggling to set up the popup graphs and could not see the graphsettings.php script anywhere when downloaded and at the moment no graphs are generated in the cache.I have uploaded jpgraphs package and defined as below in Windows 7, not sure if this is correct though!