[wxreport] Can't get it to load!

Hi,

I have an older version of the wxreports running just fine.
Made some edits to the files and didn’t want to overwrite these files by the newer version.
Just wanted to check out the newer version.
Copied the new files to a folder called wxreports which resides in my ws folder where the dailynoaa and climate files are.
I am no good in setting these paths to the dailynoaa and climate files.
In the older version it is ./

I can’t figure out the paths, tried almost everything but getting the same error.

http://www.westland-depoel.nl/vantagevue/ws/wxreports/wxraindetail.php

You have your dailynoaa/climate files and your old wxreport files in the http://www.westland-depoel.nl/vantagevue/ws/ folder.
So since they are all in the same folder, the path would be ./

But you have put the new wxreport files in the http://www.westland-depoel.nl/vantagevue/ws/wxreports/ folder.
For the new wxreport files to be able to access the dailynoaa/climate files, you would need to change the path to ./ws/

If you are just doing some testing, it might be easier to just copy some of the dailynoaa/climate files to the wxreports folder instead.

$path_dailynoaa = "./ws/";   // path to NOAA reports
$path_climatedata = "./ws/";           # WD only -- Location of climatedataout*.html files

Did not work, same error.

Copied dailynoaa and climate files to the wxreports folder, changed paths to

$path_dailynoaa = "./";   // path to NOAA reports
$path_climatedata = "./";           # WD only -- Location of climatedataout*.html files

Same error.

#-o

Can you zip up the files wxreport-settings.php, wxreportinclude.php, and wxraindetail.php that are in the wxreports folder and attach here or email to me.

Here they are.


wxreportserror.zip (16.1 KB)

Sorry, my memory was napping today. The wxreport scripts are addons for the Saratoga template so they need to be installed in the same folder as the Saratoga template files.

The wxreport files will only work in a separate folder if you run them in ‘standalone’ mode. To do this, a nonsaratogatemplate.txt file must be present in the same folder as the wxreport files. The content of that file doesn’t matter, just that it exists. And edit the nonSaratogatemplate-settings.php file as needed. So this would be a method you could use to test the scripts. After you have confirmed they work as desired, you can copy the wxreport scripts (but not the nonsaratogatemplate.txt file) to the wx folder.

OK, I see.

Couldn’t get the standalone version to work either.
Can’t be that hard to get this thing going.
I am starting all over now, beginning to download the latest version from your site.
Small change I may have accidentally mixed up older and newer files.
Will let you know.