Author Topic: Weather Display/PHP/AJAX Website Template Set  (Read 2261 times)

0 Members and 1 Guest are viewing this topic.

Offline Svenni

  • Member
  • *
  • Posts: 17
    • Refsnesbakken Borettslag
Weather Display/PHP/AJAX Website Template Set
« on: September 03, 2008, 06:53:59 AM »
Hello there
i have instal the PHP/AJAX Website Template Set,and i use the weather display, and it almost work perfect
i have some trouble to show the "almanac"on the site there is no values show up:

Sunrise:   00:00
Sunset:   00:00
Moonrise:00:00
Moonset:   00:00

http://www.svenni.org/

anyone no how to fix this,thx for any help

Svenni
« Last Edit: September 03, 2008, 05:20:44 PM by Svenni »
Svenni


Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9288
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Weather Display/PHP/AJAX Website Template Set
« Reply #1 on: September 03, 2008, 10:50:36 AM »
Hi Svenni,

It's due to your current Settings.php entries for $SITE['wxtags'] .. that entry cannot be an URL, since the URL would return no PHP readable data.  It has to be a relative FILE location for the testtags.php file, so change it to
Code: [Select]
$SITE['WXtags'] = './testtags.php';.  You should do a similar change for the $SITE['clientrawfile'] to be
Code: [Select]
$SITE['clientrawfile'] = './clientraw.txt';
The Almanac Sun/Moon page will be fixed when you get the $SITE['wxtags'] corrected.

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline Svenni

  • Member
  • *
  • Posts: 17
    • Refsnesbakken Borettslag
Re: Weather Display/PHP/AJAX Website Template Set
« Reply #2 on: September 03, 2008, 11:20:28 AM »
Hello Ken
the site is fixed i have URL in the $SITE['wxtags'] setting
thx for your help

Svenni
www.svenni.org
Svenni


 

anything