How to setup jpgraphs and wxgraphs

Well, I have tried, in fact I have compared my gauges-ss.css that is inside the css folder with yours and I really have not found the differences. Anyway, in yours even the lyrics are clearer.

In graphsconf.php line 76 set

$framecol = "lightblue";

to “none”. Then play around with lines 30-41 and change a few things from ‘BOLD’ to ‘NORMAL’. Sometimes you don’t need to shout. . . :slightly_smiling_face:

Line 51 sets the angle of the times on the x-axis (I use 90, not 45), and line 58 sets the frequency (I use 2, not 1).

Just feel free to experiment :grinning:

EDIT: And I think in line 104 you need to set 1.8540 (kts to km/h), and in line 105 change units to “kph” - or try “km/h”?

1 Like

Wow, I didn’t know that the file to modify was In graphsconf.php

Indeed, following your instructions (they turned out much better compared to the original format) I have achieved some improvements and I am still working on it.

As for the handwriting, yours seems clearer, it is as if the Arial font were sharper in your graphics.

Finally (and at the risk of being annoying) I would ask you to take a last look and give me your sound advice.

https://www.meteosanjuan.com/wxssgauges.php

By the way, the thing about sets the frequency (I use 2, not 1) does not appear anywhere. I imagine it is not in the current version.

Thanks a lot

I don’t know why this is, but I have to say this is one of the reasons I did not update.

Type letters still seems squashed vertically, so maybe decrease the width of the graphs?

It was in a recent download, line 58:

$label_interval = 1; //This sets how often the xaxis labels should appear, normally 1 or 2
1 Like

Thank you very much for your time and help. I already have the necessary information, as you say, it is a matter of doing tests. Thanks once again.

1 Like

I have to say the left and right margins look excessive:

// Margin sizes surrounding the graphs
$lm = 66; // Left Margin
$rm = 50; // Right Margin
$tm = 40; // Top Margin
$bm = 55; // Bottom Margin

compared to mine:

// Margin sizes surrounding the graphs
$lm = 40; // Left Margin
$rm = 40; // Right Margin
$tm = 30; // Top Margin
$bm = 55; // Bottom Margin

BUT you would need to check in the test page if this causes problems with any axis labels.

1 Like

Indeed they look better as you indicate. It is accepted…

Thanks again

1)OK here’s what I got after my first attempt at trying to make the JP graphs work with the steel gauges
http://www.docmarvweather.com/jpgraph%204.4.2/src/wxgraphs/wxgraphs_test.html

2)Here’s my graphconf settings.
date_default_timezone_set(‘America/Vancouver’); // Set your timezone
//$hostloc needs to be updated to point to where your clientraw*-files are located if not in the root directory
$hostloc = “\pleskvhosts\docmarvweather.com\httpdocs\sgmgh/”; //if your files are in a sub-directory you must add trailing slash
//note you should only need to change the jpgraph directory if you do not use standard names
$jploc=“/PleskVhosts/docmarvweather.com/httpdocs/jpgraph/src/"; //must have trailing slash

//Set this variable to either 12 or 24 depending on whether you run Weather Display in 12 or 24 hour mode
$hourmode =“24”;

3)here is my PHP error log:
[09-May-2024 12:31:44 UTC] PHP Parse error: syntax error, unexpected integer “24” in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph\src\wxgraphs\graphsconf.php on line 23
[09-May-2024 12:31:44 UTC] PHP Parse error: syntax error, unexpected integer “24” in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph\src\wxgraphs\graphsconf.php on line 23
[09-May-2024 12:31:44 UTC] PHP Parse error: syntax error, unexpected integer “24” in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph\src\wxgraphs\graphsconf.php on line 23

  1. Here’s a link to my website: http://www.docmarvweather.com/

Im not sure where my graphs are generated to

Setting should look something like the attached

The jpgraph in mine is not numbered but yours may need the number
“{$WEBROOT}/jpgraph 4.4.2/src/”
“{$WEBROOT}/” should work for your clientraw location
The latest version of wxgraphs the config should of only needed the time zone altering and it should worked and you said you have put in the missing fonts
I will say that for a long time I was getting what your test page currently show and gave up on it something to do with my host server setup as it worked on my local then when I tested it within the past year it was working and all I had done was upload the latest version

I presume the backslashes are just Forum typos?

that’s the way the slashes were in GoDaddy when I copied the address

So $jploc is wrong, then, with slashes?

You don’t need to copy your root address in full, just use the original {$WEBROOT} as shown by @hcorrin

P.S. if your copy of graphsconf.php has ${WEBROOT} change it to {$WEBROOT}

Hello, thanks for the help!
Now my PHP error is showing this, I know nothing about PHP, can some one decipher this? thanks again

[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\rain_today.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\rain_yesterday.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\rain_week.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\rain_this_month.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\rain_this_year.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\rain_60min.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\baro_24hr.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\temp_dew_hum_1hr.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\baro_1hr.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\windspeed_24hr.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\windspeed_60min.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\temp_dew_hum_24hr.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\nextstorm_24hr.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\humidity_7days.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\temp_hum_24hr.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\rain_24hr.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\solar_7days.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\winddir_24hr.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\humidity_1hr.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\baro_7days.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\solar_24hr.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\temp_60min.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\temp_24hr.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\winddir_60min.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\solar_1hr.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\temp_1hr.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\rain_1hr.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\windgust_1hr.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\rain_7days.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\winddir_1hr.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\temp_7days.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\uv_7days.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\uv_24hr.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\humidity_24hr.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\indoor_temp_24hr.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\windspeed_1hr.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\baro_7days_line.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\winddir_7days.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\windspeed_7days.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\month_baro.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\month_baro_line.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\month_hilo_temp.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\month_windspeed.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\month_winddir.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\month_rain.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\month_humidity.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\snow.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\year_rain.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\avg_year_rain.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\year_rain_inc_avg.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\historical-annual-rain.php on line 5
[12-May-2024 03:50:18 Europe/Isle_of_Man] PHP Warning: file_exists(): open_basedir restriction in effect. File( G:\PleskVhosts\docmarvweather.com\httpdocs/jpgraph-4.4.2/src/jpgraph.php) is not within the allowed path(s): (G:/PleskVhosts/docmarvweather.com;C:\Windows\Temp) in G:\PleskVhosts\docmarvweather.com\httpdocs\jpgraph 4.4.2\src\wxgraphs\fonttest.php on line 6

That is because the jpgragh folder is not being found so what is the name of your jpgraph folder on your web host
If the jpgraph folder has a number your settings in config should look like this

If no number on jpgraph folder then settings in config should look like this

From a fresh download of the config file the only thing that needs changing is the time zone
A screen shot of your settings would help

I still think there’s a problem with slashes and backslashes. . .

Hey thanks again for the help
Here’s a screen shot of my graphconf file

//===============================================================================================
//PLEASE UPDATE ALL THE VARIABLES IN THIS SECTION BELOW TO YOU REQUIRED VALUES
//===============================================================================================
date_default_timezone_set(‘Europe/Isle_of_Man’); // Set your timezone
//$hostloc needs to be updated to point to where your clientraw*-files are located if not in the root directory
$hostloc = “{$WEBROOT}/sgmgh/”; //if your files are in a sub-directory you must add trailing slash
//note you should only need to change the jpgraph directory if you do not use standard names
$jploc = " {$WEBROOT}/jpgraph-4.4.2/src/"; //must have trailing slash

//Set this variable to either 12 or 24 depending on whether you run Weather Display in 12 or 24 hour mode
$hourmode = “24”;

hello bitsostring,
the forward slashes come from a screenshot of the PHP error log file in Godaddy, which I can’t control unless you think I should change all my slashes in that direction.

It’s probably down to my ignorance, but I haven’t seen backslashes in a server context before, so I wondered why there was a mixture. . . Short answer is, I don’t know.

But I definitely think you need to change the time zone from Europe/Isle_of_Man; to America/Los_Angeles, maybe? (Full list here.)

Hey, Thanks, yes I just did that and that’s working now.

As you guys say, fix one thing at a time!!

date_default_timezone_set(‘America/Los_Angeles’); // Set your timezone
//$hostloc needs to be updated to point to where your clientraw*-files are located if not in the root directory
$hostloc = “{$WEBROOT}/sgmgh/”; //if your files are in a sub-directory you must add trailing slash
//note you should only need to change the jpgraph directory if you do not use standard names
$jploc = " {$WEBROOT}/jpgraph-4.4.2/src/"; //must have trailing slash

//Set this variable to either 12 or 24 depending on whether you run Weather Display in 12 or 24 hour mode
$hourmode = “24”;

your test page is still not seeing the jpgraph folder so what is the exact name used on the web server as the one in settings does not appear to match it
one possibility is a space instead of -