WXforum.net
Web Weather => Weather Web Site Help => Topic started by: mstan on June 17, 2021, 07:33:29 AM
-
Parse error: syntax error, unexpected end of file in /home/customer/www/newmiddletownweather.com/public_html/testtags.php on line 803
-
Parse error: syntax error, unexpected end of file in /home/customer/www/newmiddletownweather.com/public_html/testtags.php on line 803
This occurs when the testtags.php is incompletely uploaded. Your testtags.php normally has 1020 lines.
It works Ok now https://newmiddletownweather.com/
Wim
-
I finally got tired of this one a while ago and implemented a change (with my Meteobridge setup) that is essentially:
1) Change the upload file name to {tagfilename}-new.php.
2) Implemented code (in top.php and my METAR cron job) that looks for a '-new' file newer than the current tags file and of reasonable size. If so, copy the new version to the tags file.
I haven't seen the issue since.