New version of the JPGraphs for WD using clientraw data (wxgraphs.zip)

I think you are right. That site is off-line for a long time, so i will remove the wview from the list of clientraw users. Probably they were just testing different weather-programs at the same site.
Wim

Stuart, appreciate all your work on this new version.

Put it up the other day and have found a bump in the road on my http://tiggrweather.net/wxastronomy.php. Down the page a bit the sun path graph is missing, replaced by the error message, “Unable to find graphslang.php” (called out at line 151 in graphsconf.php). That file is in /wxgraphs/.

Thoughts appreciated.

I am a little puzzled by this one as sunposa.php is not one of my graphs which is the image which is failing. The only sun graphs of mine all start solar.

Stuart

I’ve been doing some testing with the other S/W clientraw files I’ve been able to get. Basically the only one where all my graphs seem to work is consoleWD which lets face it is not a surprise since it is Brian’s code. The other two Meteohub and WSWIN both have problems and the data for all the graphs is simply not there or not in a valid format.

So for Meteohub and WSWIN the easiest thing is to run my sample HTML file which tests all the graphs against the clientraw files for these programs and pick the ones which work. The other graphs for now will not work unless the relevant S/W is updated to include the relevant data in the same format as used in the WD files.

If anyone has any other software which creates clientraw files please let me know and I’ll do some checking to see if they can work.

Stuart

Understood. The only reason I tossed it your way was because all I’ve done is to add your 4.0.1 package - that’s when the failure started. Now I’m unable to fine the graphslang.php file anywhere.

Thanks anyway.

I think your install may not be complete because I can open the link to Stuart’s new zip http://www.stella-maris.org.uk/code/wxgraphs.zip and see graphslang.php is included.

More like my brain is incomplete, niko. Have about 6 things failing right now and messed up my post - my apology for that. The graphslang.php file is in /wxgraphs/ on my server. The problem is why it apparently can’t be found. Line 151 in graphsconf.php is what is looking for that file and also what posts the error. Stuart’s http://tiggrweather.net/wxgraphs/wxgraphs_test.html appears to be working fine (don’t know if it uses the graphslang.php file). Nothing else has been changed.

Thanks.

I suggest we take this to another thread since it’s not really related to Stuart’s project.

The fact the the wxgraphs_test.html is working (and I just tested it here) means that the graphslang.php file is there since the graphsconf.php calls it on line 158. It does look like you have other issues.

Stuart

Will do.

Thanks to both.

It seems that the JPgraphs site is down. I have been getting a 504 gateway time-out error on the site yesterday and today. Is there another place that this JPgraph package can be downloaded from?

Thanks

Gary

Check your PM for a temp link.

Thanks Niko,

Gary

Main JPGraph website is back online again this morning.

Stuart

Just as a side note, there are still two JpGraph scripts (v4.0.1) that do not meet the PHP7 code guidelines: ‘jpgraph_bar.php’ and ‘jpgraph_line.php’ - both will display warnings.

That is the issue with JPGraph which they acknowledge and will fix. You can edit the relevant files so if you want the code PM me.

Stuart

I installed the new version works well. Thank the author of this version.
[url=http://www.celinmeteo.com/wdisplay/wxflashgraph.php]
http://www.celinmeteo.com/wdisplay/wxflashgraph.php[/url]
:smiley:
Marian

Hi Stuart

I am trying to update my graphs from your script. I have followed your readme file and have uploaded all files to graphs directory on my webserver. I also uploaded jpgraph-4.0.2 to the web server. I have edited graphsconf.php, the only changes I made was timezone and changed jpgraph-4.0.1 to “2”. I tested in the graphs directory and graphs worked, but when I upload wxgraphs.php to my root directory graphs don’t display… http://www.mangawhaiweather.co.nz/wxgraphs.php

Thanks for the script.

Cheers
Tony

Tony that code provided is expecting to run from the directory you uploaded the graphs to, not the root directory. If you want to run it from there you need to edit all the graph calls to include the correct directory for each one.

Stuart

Thanks Stuart, I will give it a go.

Tony