Page 1 of 1

Upgraded to CumulusMX and banner has stopped showing

Posted: Thu 12 Apr 2018 12:01 pm
by geoffw
As you can see below I use 'Banner' as a signature with Cumulus. I've just upgraded to CumulusMX and moved "banner.php" into my weather main directory but it does not appear to be reading the "realtime.txt" All I'm getting is a blank box that links to the revised website.

Re: Upgraded to CumulusMX and banner has stopped showing

Posted: Thu 12 Apr 2018 1:12 pm
by ConligWX
do you have the setting

Code: Select all

$SITE['version']        = "3.0";
$SITE['hloc']           = "./";
$SITE['datafile']       = "realtime.txt";
in your banner.php ?

Re: Upgraded to CumulusMX and banner has stopped showing

Posted: Thu 12 Apr 2018 1:50 pm
by steve

Code: Select all

# CONFIGURATION INFORMATION
############################################################################
$SITE['version']        = "3.0";
$SITE['hloc']           = "./";
$SITE['datafile']       = "realtime.txt";
$SITE['image_width']    = 468;
$SITE['image_height']   = 60;
#---------------------------------------------------------------------------
$SITE['fontdir']        = "fonts/";     # must contain ttf font files!
$SITE['usettf']         = "yes";        # Set to No to use default fonts
You've selected truetype fonts, but you don't seem to have a fonts directory with the fonts in them at the configured location (according to my browser, at least).

Re: Upgraded to CumulusMX and banner has stopped showing

Posted: Thu 12 Apr 2018 4:11 pm
by geoffw
Just set "$SITE['usettf'] = "yes"; # Set to No to use default fonts" to "no" and they are back!

Thanks!