Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

cumulus banners and PHP

Discussion specific to Fine Offset and similar rebadged weather stations
miltb120
Posts: 34
Joined: Tue 16 Nov 2010 4:41 pm
Weather Station: Fine Offset WH1081
Operating System: windows7
Location: Tamworth, UK
Contact:

cumulus banners and PHP

Post by miltb120 »

Hi,
Can anybody assist please in setting up a banner, like many of you have in your postings.
I have downloaded and installed the banner.php file on my webserver, but havent got the knowledge to edit the file as at present the link
www.miltonbrown.co.uk\weather\banner.php
gives me a page cannot be found.
I have read the pdf file on this topic but cant understand it!
When I tried to edit the PHP file in notepad it looked very user unfriendly!!
many thanks
Milton Brown,
Clifton Campville, Staffordshire UK
Image
RayProudfoot
Posts: 3602
Joined: Wed 06 May 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: cumulus banners and PHP

Post by RayProudfoot »

Hi,

Firstly, you're using backslashes when you should be using forward slashes. So try:-

www.miltonbrown.co.uk/weather/banner.php. I just tried that and no file was found so it looks like you haven't uploaded it.

For that link to work your banner.php file must exist in the weather sub-folder. Also, there must be no errors in the file otherwise it won't show.

You're correct in assuming it isn't a very user-friendly language to understand but start by checking if you have the required fonts in the fonts sub-folder if you're using True Type ones. You can copy those from C:\Windows\Fonts to your server.

Check also that realtime.txt exists in the weather folder on the server.
Cheers,
Ray, Cheshire.

Image
miltb120
Posts: 34
Joined: Tue 16 Nov 2010 4:41 pm
Weather Station: Fine Offset WH1081
Operating System: windows7
Location: Tamworth, UK
Contact:

Re: cumulus banners and PHP

Post by miltb120 »

Ray,
many thanks for your assistance, but checked all and still no joy!
any chance of your sending your banner.php file and I can check against mine and change the relevant bits?
cheers
Milton Brown,
Clifton Campville, Staffordshire UK
Image
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: cumulus banners and PHP

Post by steve »

I don't think it's a problem with the contents of your file, it's that the web server says it can't be found. If you've definitely uploaded it, then perhaps the problem is that your web hosting doesn't support PHP?
Steve
miltb120
Posts: 34
Joined: Tue 16 Nov 2010 4:41 pm
Weather Station: Fine Offset WH1081
Operating System: windows7
Location: Tamworth, UK
Contact:

Re: cumulus banners and PHP

Post by miltb120 »

Steve,
I did upload the checkserverphp file first and that advised php supported!
I have uploaded a true type font and placed it in a subdirectory of weather called fonts
any help really appreciated
Milton Brown,
Clifton Campville, Staffordshire UK
Image
RayProudfoot
Posts: 3602
Joined: Wed 06 May 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: cumulus banners and PHP

Post by RayProudfoot »

miltb120 wrote:Ray,
many thanks for your assistance, but checked all and still no joy!
any chance of your sending your banner.php file and I can check against mine and change the relevant bits?
cheers
Sure, I can do that. It doesn't contain any sensitive information. I'm at work and will send it around 5pm.
If you're going to use mine you'll need to add additional fonts on your server. The font section will identify which ones.
Cheers,
Ray, Cheshire.

Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: cumulus banners and PHP

Post by beteljuice »

I note that you seem to be using "Virtual Directories", could this be a problem ?
Image
......................Imagine, what you will KNOW tomorrow !
miltb120
Posts: 34
Joined: Tue 16 Nov 2010 4:41 pm
Weather Station: Fine Offset WH1081
Operating System: windows7
Location: Tamworth, UK
Contact:

Re: cumulus banners and PHP

Post by miltb120 »

Not sure what you mean by virtual directory as have had a website for some years which seems to work with everything else I have up there!
as far as i was aware its an ordinary webserver which supports PHP
Milton Brown,
Clifton Campville, Staffordshire UK
Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: cumulus banners and PHP

Post by beteljuice »

Got a link to your checkserver.php please ?
Image
......................Imagine, what you will KNOW tomorrow !
miltb120
Posts: 34
Joined: Tue 16 Nov 2010 4:41 pm
Weather Station: Fine Offset WH1081
Operating System: windows7
Location: Tamworth, UK
Contact:

Re: cumulus banners and PHP

Post by miltb120 »

thats weird as I ran the script from within my site via ftp yesterday and was advised PHP okay. today when I have just tried before sending you the link and nothing happened.
the add to the checkserver.php is
www.miltonbrown.co.uk/weather/checkserver.php
So I dont understand why it would work yesterday and not today.
as you can probably am a newbie as regards websites but have had a family one running for some years with no issues
regards
Milton Brown,
Clifton Campville, Staffordshire UK
Image
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: cumulus banners and PHP

Post by gemini06720 »

first, "miltb120", it would be nice if you could sign your messages with a REAL name. Thanks.

From one of the error message that I receive when trying to get a file that is not on your server, I would guess that 1&1 is probably your host server.

With that written, I looked for the file 'banner.php' by forcing a display of the source and I still get the same error message. So, either the file 'banner.php' is not where the link is pointing or the file is corrupted.

Note: The file 'checkserver.php' cannot be found at the link you are pointing us to!

The pages of your weather web site are displaying properly.
miltb120
Posts: 34
Joined: Tue 16 Nov 2010 4:41 pm
Weather Station: Fine Offset WH1081
Operating System: windows7
Location: Tamworth, UK
Contact:

Re: cumulus banners and PHP

Post by miltb120 »

thanks for yr help.
I have copied in the file again from that downloaded originally.
still not sure whats going on
regards
Milton
Milton Brown,
Clifton Campville, Staffordshire UK
Image
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: cumulus banners and PHP

Post by gemini06720 »

Milton, thank you... ;)

I have just looked and still nothing! Are you sure the file 'checkserver.php' and 'banner.php' are in the same directory where all Cumulus HTM files are located. Are you sure the files have the proper 'PHP' extension and nothing else (such as 'HTM' or 'TXT' for example).
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: cumulus banners and PHP

Post by nitrx »

Milton,
I'm wondering if you are running a IIS server from Msoft on your local computer and if php ánd GD is supported.
miltb120
Posts: 34
Joined: Tue 16 Nov 2010 4:41 pm
Weather Station: Fine Offset WH1081
Operating System: windows7
Location: Tamworth, UK
Contact:

Re: cumulus banners and PHP

Post by miltb120 »

I have rechecked and
all the cumulus htm files are there
checkserver.php and banner.php are there and my index.htm for the normal site are all in the same directory called weather which is where my weather site link works
www.miltonbrown.co.uk/weather/index.htm
I am sorry that this is proving an issue as I am relatively new to all this!
regards
Milton
Milton Brown,
Clifton Campville, Staffordshire UK
Image
Post Reply