Author Topic: Site won't open syntax error  (Read 564 times)

0 Members and 1 Guest are viewing this topic.

Offline Jumpin Joe

  • Forecaster
  • *****
  • Posts: 1073
    • Joe’s Weather
Site won't open syntax error
« on: September 16, 2022, 10:22:59 PM »
Not sure what happened, went to open my site, https://www.joesweather.info
and received this error.  Can any one tell me how to correct it?

Thanks,
Joe

Parse error: syntax error, unexpected 's' (T_STRING) in /home/joes/www/www/testtags.php on line 931
https://joesweather.info
Davis Vantage Pro 2 Plus 24-FARS Wireless
WeatherLink Live

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9279
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Site won't open syntax error
« Reply #1 on: September 16, 2022, 10:56:34 PM »
In testtags.php, it has line 931 as
Code: [Select]
$stationname = 'Joe's Weather';
Either change the WD station name to
Code: [Select]
Joe's Weather or change the testtags.txt template to
Code: [Select]
$stationname = “%stationname%”;
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 Jumpin Joe

  • Forecaster
  • *****
  • Posts: 1073
    • Joe’s Weather
Re: Site won't open syntax error
« Reply #2 on: September 17, 2022, 07:14:48 AM »
Thank you Ken, that did it!!

Joe
https://joesweather.info
Davis Vantage Pro 2 Plus 24-FARS Wireless
WeatherLink Live