Author Topic: clientraw  (Read 1175 times)

0 Members and 1 Guest are viewing this topic.

Offline swright1957

  • Senior Member
  • **
  • Posts: 90
    • Hytheweather.co.uk
clientraw
« on: February 15, 2025, 09:58:46 AM »
Hi all
I have a website running fine at the moment.  www.hytheweather.co.uk
But now im trying to configure a Saratoga website as well, so instead of loading clientraw file twice i want o to use the one that WD already uploads to the main site.

For the life of me I cant get it to find the clientraw file in the directory below after specifying in settings-weather in Saratoga template

Main site www.hytheweather.co.uk
Saratoga: www.hytheweather.co.uk/Base

I have tried ./clientraw.txt   ../clientraw.txt  ... and even ..../  still not finding it

Any ideas?

Thanks Steve
"anything's possible with the weather"



Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 2082
    • My PWS at Leuven Belgium Europe
Re: clientraw
« Reply #1 on: February 15, 2025, 10:15:43 AM »
Hi all
I have a website running fine at the moment.  www.hytheweather.co.uk
But now im trying to configure a Saratoga website as well, so instead of loading clientraw file twice i want o to use the one that WD already uploads to the main site.

For the life of me I cant get it to find the clientraw file in the directory below after specifying in settings-weather in Saratoga template

Main site www.hytheweather.co.uk
Saratoga: www.hytheweather.co.uk/Base

I have tried ./clientraw.txt   ../clientraw.txt  ... and even ..../  still not finding it

Any ideas?

Thanks Steve

clientraw.txt is used as realtime file.
The main data comes from  testtags.txt

AFAIK only ajaxWDwx.js needs to know the exact location of testtags.txt
Line 56
var clientrawFile = 'clientraw.txt'; // location of clientraw.txt relative to this page on website

should be adepted to
var clientrawFile = '../clientraw.txt'; // location of clientraw.txt relative to this page on website


Succes,
Wim

Offline swright1957

  • Senior Member
  • **
  • Posts: 90
    • Hytheweather.co.uk
Re: clientraw
« Reply #2 on: February 15, 2025, 11:10:18 AM »
 [tup]

Thanks WIM
"anything's possible with the weather"



 

anything