The image doesn't show due to an embedded PHP error message
<b>Warning</b>: imagecreatefromgif() [function.imagecreatefromgif]: Filename cannot be empty in /home/content/s/a/m/samwarren/html/wxgraphic/wxgraphic.php on line 461
Line 461 in wxgraphic.php is
$ccicon = imagecreatefromgif($vws_icon[$forecast]);
The value for $forecast comes from Line 290:
$forecast = trim(strtoupper($data[13]));
In config.txt you specified
// THIS IS NOT A URL!!
// if using WD clientraw.txt supply the path to it.
$data_file_path = 'http://www.mountcrawfordweather.org/VWS/data.txt';
and that should NOT be an URL, but a relative file path like
// THIS IS NOT A URL!!
// if using WD clientraw.txt supply the path to it.
$data_file_path = '../VWS/data.txt';
looking at
http://www.mountcrawfordweather.org/VWS/data.txt shows
11:10pm,7/28/17,69.3,75.7,69.3,95,67.8,29.76,Falling,0.0,NE,2.49,0.0,,6:16am,8:31pm
as the contents.
In it, $data[13] = '';
(or null) and that's causing $forecast to be null and so the lookup for an icon fails and the error message gets generated.
In the stickertags template for VWS, the template is supposed to contain
^vst143^,^vst142^,^vxv007^,^vxv021^,^vxv019^,^vxv005^,^vxv022^,^vxv023^,^vst140^,^vxv002^,^vxv001^,^vxv121^,^vxv003^,^climate_cconds1^,^vst144^,^vst145^
so it is the ^climate_cconds1^ variable that VWS is not processing correctly.
There's a couple of ways to fix this:
1) get VWS to associate a nearby METAR with ^climate_cconds1^ or
2) comment out the code for icon selection in wxgraphic.php
Hope this helps... and THANKS for providing both URLs and copies of the code. It makes a 1-pass diagnosis possible
Best regards,
Ken
BTW:
Looking at your phpinfo, I see:
allow_url_fopen On
allow_url_include On
You should set
allow_url_include = off
in your php.ini -- including URLs can provide a path to execute foreign/malicious code on your website remotely.. not a good thing.