Author Topic: Syntax Error Message  (Read 312 times)

0 Members and 1 Guest are viewing this topic.

Offline Jumpin Joe

  • Forecaster
  • *****
  • Posts: 1073
    • Joe’s Weather
Syntax Error Message
« on: September 11, 2020, 07:38:37 AM »
This error just occurred preventing my site to launch. I looked at the referenced location and do not see anything. Can anyone assist me to correct this?

Parse error: syntax error, unexpected end of file in /home/joes/www/www/testtags.php on line 395


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

Offline AWL

  • Forecaster
  • *****
  • Posts: 727
    • Ardmore Weather Live
Re: Syntax Error Message
« Reply #1 on: September 11, 2020, 08:20:27 AM »
I have had that occasionally happen to me. Usually corrected with the next testtag upload. Evidently not in your case. Might try deleting the current testtag file on your server then hopefully the next upload will correct the issue.. You could make a copy before deleting but I don't see that really necessary as it's not working anyway.


Doug

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1986
    • My PWS at Leuven Belgium Europe
Re: Syntax Error Message
« Reply #2 on: September 11, 2020, 08:40:47 AM »
This error just occurred preventing my site to launch. I looked at the referenced location and do not see anything. Can anyone assist me to correct this?

Parse error: syntax error, unexpected end of file in /home/joes/www/www/testtags.php on line 395


Thanks,
Joe
https://joesweather.info/check-fetch-times.php?show=wxTags
Scroll down to the bottom.
The testtags.php suddenly ends at line 395
Code: [Select]
$temp90minuteago = '77.1'; 
$wind90minuteago = '1.2';
$gust90minuteago = '1.2';
$dir90minuteago = ' NE';
$hum90minuteago = '79';
$dew90minute

Maybe the testtags.txt in your weatherdisplay folder on your PC is broken at the same line
Did you restart WD already? Maybe it is stalled as the file seems not recent.
Code: [Select]
$time =  '00:34 AM';    // current time
$date =  '9/11/2020';    // current date
$sunrise =  '4:16 am';    // sun rise time (make sure you have the correct lat/lon

Wim
« Last Edit: September 11, 2020, 11:26:29 AM by wvdkuil »

Offline Jumpin Joe

  • Forecaster
  • *****
  • Posts: 1073
    • Joe’s Weather
Re: Syntax Error Message
« Reply #3 on: September 11, 2020, 12:09:16 PM »
Thanks guys.... looks like "Auto Start" when the PC reboots was loading WD twice.

Life is weatherful again!

Stay well and Safe,
Joe
https://joesweather.info
Davis Vantage Pro 2 Plus 24-FARS Wireless
WeatherLink Live