Author Topic: Not load Wxreports CumulusMX  (Read 533 times)

0 Members and 1 Guest are viewing this topic.

Offline CarlosLSev

  • Member
  • *
  • Posts: 36
Not load Wxreports CumulusMX
« on: May 09, 2021, 03:51:17 AM »
Hello I want to use script, https://weather.wildwoodnaturist.com/wxtempdetail.php
I am testing it on my website http://meteoviso.es/wxtempdetail.php?year=2021 But they don't load the data ...
NOOA data is in http://meteoviso.es/Reports/
It is wxreport-settings.php
$ path_dailynoaa = $ SITE ['./ Reports /'];
In settings-wheather.php
$ SITE ['NOAAdir'] = './Reports/';
What am I doing wrong? Use CumulusMX Thank you and sorry for the inconvenience
« Last Edit: May 09, 2021, 08:31:26 AM by CarlosLSev »

Offline CarlosLSev

  • Member
  • *
  • Posts: 36
Re: Not load Wxreports CumulusMX
« Reply #1 on: May 09, 2021, 07:28:47 AM »
Hi, finally, I can get the standalone version to work, but not the Saratoga version. In the wxreport.settings.php file I have
Code: [Select]
$ SITE ['charset'] = 'ISO-8859-1';
$ SITE ['NOAAdir'] = './Reports/';
$ path_dailynoaa = $ SITE ['./ Reports /']; // path to NOAA reports
$ path_climatedata = "./"; # WD only - Location of climatedataout * .html files
$ first_year_of_noaadata = "2021"; # First year of dailynoaareport data that is available
$ first_year_of_climatedata = "2021"; # WD only - First year of climatedataout data that is available
In the nonSaratogatemplate-settings.php file
Code: [Select]
$ SITE ['NOAAdir'] = "./Reports/"; // path to NOAA reports
$ SITE ['WXsoftware'] = 'CU';
If the nonsaratogatemplate.txt file exists, load the independent version with the correct data. If I rename nonsaratogatemplate.txt to nonsaratogatemplate.old The saratoga web loads but no weather data comes out.

Enviado desde mi M2007J20CG mediante Tapatalk
« Last Edit: May 09, 2021, 08:28:26 AM by CarlosLSev »

Offline PaulMy

  • Forecaster
  • *****
  • Posts: 5519
    • KomokaWeather
Re: Not load Wxreports CumulusMX
« Reply #2 on: May 09, 2021, 10:08:31 AM »

Hi,
I don't use this particular report but do have some of the other Wildwood scripts.
You show your settings as
Code: [Select]
$ path_dailynoaa = $ SITE ['./ Reports /'];Is that copy and paste or typed?  There appears to be spaces between the backslashes / and the word Reports


Doing a [[F12] on your http://meteoviso.es/wxtempdetail.php?year=2021 shows a
Code: [Select]
Failed to load resource: the server responded with a status of 404 (Not Found)

Enjoy,
Paul
« Last Edit: May 09, 2021, 10:12:14 AM by PaulMy »

Offline CarlosLSev

  • Member
  • *
  • Posts: 36
Re: Not load Wxreports CumulusMX
« Reply #3 on: May 15, 2021, 07:18:40 AM »
Thanks, finally get it working