Hi all,
I’ve downloaded the EWN-style script on to my website, read the “README.txt” file and configured the wxsim/config.php file to link to my folders as indicated.
But the forecast.php script is absolutely filled with errors, and doesn’t load any data. Setting error reporting off on my scripts results in an “internal server error” if I try to load any of the pages.
Forecast page is listed here:
http://aspgweather.com/townsville/wxsim/v5/forecast.php
As you can see, all I’m getting is all of this:
Notice: Use of undefined constant lang - assumed ‘lang’ in /home/aspgweat/public_html/townsville/wxsim/v5/wxsim/config.php on line 62
Notice: Use of undefined constant ewnwunit - assumed ‘ewnwunit’ in /home/aspgweat/public_html/townsville/wxsim/v5/wxsim/config.php on line 285
Notice: Undefined variable: uploadupdate in /home/aspgweat/public_html/townsville/wxsim/v5/wxsim/frc.php on line 24
Notice: Use of undefined constant lang - assumed ‘lang’ in /home/aspgweat/public_html/townsville/wxsim/v5/wxsim/frc.php on line 43
Notice: Use of undefined constant ewnwunit - assumed ‘ewnwunit’ in /home/aspgweat/public_html/townsville/wxsim/v5/wxsim/frc.php on line 56
Notice: Undefined variable: ewnfooter in /home/aspgweat/public_html/townsville/wxsim/v5/wxsim/frc.php on line 73
Notice: Use of undefined constant SNOB - assumed ‘SNOB’ in /home/aspgweat/public_html/townsville/wxsim/v5/wxsim/frc.php on line 90
Notice: Use of undefined constant RRATE - assumed ‘RRATE’ in /home/aspgweat/public_html/townsville/wxsim/v5/wxsim/frc.php on line 90
Notice: Undefined variable: alt in /home/aspgweat/public_html/townsville/wxsim/v5/wxsim/frc.php on line 99
Notice: Use of undefined constant COMPAREDESC - assumed ‘COMPAREDESC’ in /home/aspgweat/public_html/townsville/wxsim/v5/wxsim/frc.php on line 236
Not sure why the script is filled with so many errors straight out of the box! It looks great, but it seems poorly designed to have so many errors when you first download it.