Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Please help with cumulus webtags php
Moderator: daj
-
- Posts: 140
- Joined: Thu 30 May 2013 9:15 am
- Weather Station: fine offset
- Operating System: windows 7
- Location: Townsville/Queensland/Australia
- Contact:
Please help with cumulus webtags php
Hi can some one please help me as I am still trying to put my site into php this is what it said in the cumulus webtags txt file '<'?php
// YOU MUST EDIT THE ABOVE LINE BY CHANGING '<' INTO '<'
// To be #acceptable to Wiki it cannot be a PHP file, but it must be PHP to work on your site
i have change it but still not work on my site for some reason. http://www.stormsearchers.site88.net
// YOU MUST EDIT THE ABOVE LINE BY CHANGING '<' INTO '<'
// To be #acceptable to Wiki it cannot be a PHP file, but it must be PHP to work on your site
i have change it but still not work on my site for some reason. http://www.stormsearchers.site88.net
The Future you have Not seen but the presants shall all ways be.
- mcrossley
- Posts: 12756
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Please help with cumulus webtags php
You need to remove the quotes around the < character. The line should read...
<?php
<?php
-
- Posts: 140
- Joined: Thu 30 May 2013 9:15 am
- Weather Station: fine offset
- Operating System: windows 7
- Location: Townsville/Queensland/Australia
- Contact:
Re: Please help with cumulus webtags php
Soory but what do you mean by (< character)
The Future you have Not seen but the presants shall all ways be.
- mcrossley
- Posts: 12756
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Please help with cumulus webtags php
You have...
'<'?php
it should be...
<?php
'<'?php
it should be...
<?php
-
- Posts: 140
- Joined: Thu 30 May 2013 9:15 am
- Weather Station: fine offset
- Operating System: windows 7
- Location: Townsville/Queensland/Australia
- Contact:
Re: Please help with cumulus webtags php
I have fixed up that problem now getting error on line 144 witch i cant work out why
Code: Select all
// ------------------------------------------------------------------------------------------------
$ByMonthDailyRainH=array();
$ByMonthDailyRainH[0]=<#ByMonthDailyRainH>; // defaults to current month
$ByMonthDailyRainH[1]='<#ByMonthDailyRainH mon=1>'; // January
$ByMonthDailyRainH[2]='<#ByMonthDailyRainH mon=2>'; //February
$ByMonthDailyRainH[3]='<#ByMonthDailyRainH mon=3>'; // March
$ByMonthDailyRainH[4]='<#ByMonthDailyRainH mon=4>'; // April
$ByMonthDailyRainH[5]='<#ByMonthDailyRainH mon=5>'; // May
$ByMonthDailyRainH[6]='<#ByMonthDailyRainH mon=6>'; // June
$ByMonthDailyRainH[7]='<#ByMonthDailyRainH mon=7>'; // July
$ByMonthDailyRainH[8]='<#ByMonthDailyRainH mon=8>'; // August
$ByMonthDailyRainH[9]='<#ByMonthDailyRainH mon=9>'; //September
$ByMonthDailyRainH[10]='<#ByMonthDailyRainH mon=10>'; // October
$ByMonthDailyRainH[11]='<#ByMonthDailyRainH mon=11>'; // November
$ByMonthDailyRainH[12]='<#ByMonthDailyRainH mon=12>'; //December
// ------------------------------------------------------------------------------------------------
The Future you have Not seen but the presants shall all ways be.
- jdc
- Posts: 142
- Joined: Tue 19 Jun 2012 8:51 pm
- Weather Station: Davis VP2 : Instromet
- Operating System: Win 10
- Location: Portsoy,.
- Contact:
Re: Please help with cumulus webtags php
The error message says it has found a '-' (minus) where it was expecting a string or variable etc. The screenshot is your cumuluswebtags.txt.
I think you should look at cumuluswebtags.txttmp (which should have all the values in place) and see if there are problems in the region of line 141.
I think you should look at cumuluswebtags.txttmp (which should have all the values in place) and see if there are problems in the region of line 141.
Re: Please help with cumulus webtags php
Micheal, I've said this before when you have posted links to test pages, but, I'll say it again, before implementing any changes or enhancements on your web page / site, you need to validate the html and preferably the css as well. Running the page you linked to through the validater returns numerous error messages and finally gives up!
Stormsearchers test page
Stormsearchers test page
-
- Posts: 140
- Joined: Thu 30 May 2013 9:15 am
- Weather Station: fine offset
- Operating System: windows 7
- Location: Townsville/Queensland/Australia
- Contact:
Re: Please help with cumulus webtags php
Hi all i have the php code working now thanks for the help taking a long time to get it working thank-you so much for the help you can veiw it here http://www.stormsearchers.site88.net
The Future you have Not seen but the presants shall all ways be.
- 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: Please help with cumulus webtags php
Your page is still a mess !!!
Line # 50 </head> - REMOVE
Line # 52 <body> - REMOVE
Line #53 onward
Your map script refers to getElementById("googleMap") - but there is NO such id !
Line # 50 </head> - REMOVE
Line # 52 <body> - REMOVE
Line #53 onward
Code: Select all
<div id="topmemu"></div>
<ul id="topmenu">
<li><a href="index.htm" class="Home">Home</a></li> <!-- CORRECT format -->
<li><a href="#"</a>Daily</li> <!-- WRONG format -->
<li><a href="#"</a>Records</li> <!-- WRONG format -->
<li><a href="#"</a>Observations</li> <!-- WRONG format -->
<li><a href="#"</a>Blog</li> <!-- WRONG format -->
<li><a href="#"</a>Contact Us</li> <!-- WRONG format -->
</ul>
</div>
......................Imagine, what you will KNOW tomorrow !
- PaulMy
- Posts: 3833
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Please help with cumulus webtags php
It also does not display for me, just an add for free provider and can't find anything else there.you can veiw it here http://www.stormsearchers.site88.net
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm