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.
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.
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?
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.
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
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.
Just for information… I have been testing the graphs using version 4.2.9 of JPGraph but unfortunately the bar graphs do not work correctly on this latest release. Right now I do not know whether this is a bug in my code or a bug in JPGraph and I am trying to resolve it. So for now please do not use 4.2.9, the best one to use is 4.2.6 which is what I am using live right now and it works.
Just the spur I needed to try wxgraphs for the very first time! All working fine according to the test page, once I figured out you had to unzip the package to find the Readme
Just to clarify, the package I downloaded from your first post in this thread is “Graphs Package V3.0 21st November 2016”. Is that correct?