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
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
Error in testtags.php
Moderator: daj
-
WX_Frank
- Posts: 82
- Joined: Sun 24 Jul 2011 9:12 am
- Weather Station: Davis Vantage Vue
- Operating System: Win7
- Location: Torrevieja/Spain
- Contact:
Error in testtags.php
I'm trying to get my site up & go using the "Saratoga PHP weather website scripts".
Could someone please help me..I don't know why I'm getting this error:
Parse error: syntax error, unexpected '%', expecting ']' in /home/xxxx/public_html/testtags.php on line 533
Website url : http://www.torrevieja-weather.net/testtags.php
Cumulus 1.9.2
Davis Vantage Vue
Could someone please help me..I don't know why I'm getting this error:
Parse error: syntax error, unexpected '%', expecting ']' in /home/xxxx/public_html/testtags.php on line 533
Website url : http://www.torrevieja-weather.net/testtags.php
Cumulus 1.9.2
Davis Vantage Vue
- nitrx
- Posts: 1297
- Joined: Sun 13 Dec 2009 1:21 pm
- Weather Station: WH1080
- Operating System: Windows 10
- Location: Apeldoorn The Netherlands
- Contact:
Re: Error in testtags.php
testtags.php are for weatherdisplay ?? http://saratoga-weather.org/wxtemplates/maint.phpWX_Frank wrote:I'm trying to get my site up & go using the "Saratoga PHP weather website scripts".
Could someone please help me..I don't know why I'm getting this error:
Parse error: syntax error, unexpected '%', expecting ']' in /home/xxxx/public_html/testtags.php on line 533
Website url : http://www.torrevieja-weather.net/testtags.php
Cumulus 1.9.2
Davis Vantage Vue
-
WX_Frank
- Posts: 82
- Joined: Sun 24 Jul 2011 9:12 am
- Weather Station: Davis Vantage Vue
- Operating System: Win7
- Location: Torrevieja/Spain
- Contact:
Re: Error in testtags.php
Shit...(sorry)
...my site worked great on this link the first time, and I tough this would work with Cumulus as well
Any idea what I should do from here....do I need to start from the beginning again, or ...?
Thanks.
Any idea what I should do from here....do I need to start from the beginning again, or ...?
Thanks.
- nitrx
- Posts: 1297
- Joined: Sun 13 Dec 2009 1:21 pm
- Weather Station: WH1080
- Operating System: Windows 10
- Location: Apeldoorn The Netherlands
- Contact:
Re: Error in testtags.php
If you did run it at first with weatherdisplay I think you've to add the requested files for cumulus (see cumulus specific files) and adjust the variables in Settings.php according to cumulus , I'm not sure about this because Ken is a master in thisWX_Frank wrote:Shit...(sorry)...my site worked great on this link the first time, and I tough this would work with Cumulus as well
![]()
Any idea what I should do from here....do I need to start from the beginning again, or ...?
Thanks.
-
WX_Frank
- Posts: 82
- Joined: Sun 24 Jul 2011 9:12 am
- Weather Station: Davis Vantage Vue
- Operating System: Win7
- Location: Torrevieja/Spain
- Contact:
Re: Error in testtags.php
OK..thanks Ron...I think I have to read more carefully, and decided to start all over again...still learning from my errorsnitrx wrote:If you did run it at first with weatherdisplay I think you've to add the requested files for cumulus (see cumulus specific files) and adjust the variables in Settings.php according to cumulus , I'm not sure about this because Ken is a master in thisWX_Frank wrote:Shit...(sorry)...my site worked great on this link the first time, and I tough this would work with Cumulus as well
![]()
Any idea what I should do from here....do I need to start from the beginning again, or ...?
Thanks.
Cheers,
Frank.
- nitrx
- Posts: 1297
- Joined: Sun 13 Dec 2009 1:21 pm
- Weather Station: WH1080
- Operating System: Windows 10
- Location: Apeldoorn The Netherlands
- Contact:
Re: Error in testtags.php
Good luck, it's all trial and error 
-
WX_Frank
- Posts: 82
- Joined: Sun 24 Jul 2011 9:12 am
- Weather Station: Davis Vantage Vue
- Operating System: Win7
- Location: Torrevieja/Spain
- Contact:
Re: Error in testtags.php
Thanks, Ron....just to be sure - could you or someone post an url to the right script to use with Cumulus?nitrx wrote:Good luck, it's all trial and error
Wont to this mistake one more time
- nitrx
- Posts: 1297
- Joined: Sun 13 Dec 2009 1:21 pm
- Weather Station: WH1080
- Operating System: Windows 10
- Location: Apeldoorn The Netherlands
- Contact:
Re: Error in testtags.php
there is no direct link you need to go to http://saratoga-weather.org/wxtemplates/WXwebsite.php check the tab scripts choose Free Weather Website Templates and find out what you need for cumulus,
well you can dowload from here http://saratoga-weather.org/wxtemplates/install.php choose World Template .ZIP and Cumulus .ZIP but you better read the instructions.
well you can dowload from here http://saratoga-weather.org/wxtemplates/install.php choose World Template .ZIP and Cumulus .ZIP but you better read the instructions.
-
WX_Frank
- Posts: 82
- Joined: Sun 24 Jul 2011 9:12 am
- Weather Station: Davis Vantage Vue
- Operating System: Win7
- Location: Torrevieja/Spain
- Contact:
Re: Error in testtags.php
Thanks again, Ron...I'm almost there - just a few questionsnitrx wrote:there is no direct link you need to go to http://saratoga-weather.org/wxtemplates/WXwebsite.php check the tab scripts choose Free Weather Website Templates and find out what you need for cumulus,
well you can dowload from here http://saratoga-weather.org/wxtemplates/install.php choose World Template .ZIP and Cumulus .ZIP but you better read the instructions.
1: Can't figure out why I got the wrong date & year?
2: on "wxforecast.php" the pictures wont show??
3: "Daily Stats" says: "Note: trends not available since weather station not yet specified".
Cheers,
Frank
- nitrx
- Posts: 1297
- Joined: Sun 13 Dec 2009 1:21 pm
- Weather Station: WH1080
- Operating System: Windows 10
- Location: Apeldoorn The Netherlands
- Contact:
Re: Error in testtags.php
1 I think you need dashes change the date format in Settings.php toWX_Frank wrote:Thanks again, Ron...I'm almost there - just a few questionsnitrx wrote:there is no direct link you need to go to http://saratoga-weather.org/wxtemplates/WXwebsite.php check the tab scripts choose Free Weather Website Templates and find out what you need for cumulus,
well you can dowload from here http://saratoga-weather.org/wxtemplates/install.php choose World Template .ZIP and Cumulus .ZIP but you better read the instructions.
1: Can't figure out why I got the wrong date & year?
2: on "wxforecast.php" the pictures wont show??
3: "Daily Stats" says: "Note: trends not available since weather station not yet specified".
Cheers,
Frank
Code: Select all
$SITE['timeFormat'] = 'd-m-Y H:i'; // Euro format 31/03/2006 14:03
// $SITE['timeFormat'] = 'Y-m-d H:i'; // ISO format 2006-03-31 14:03
// $SITE['timeOnlyFormat'] = 'g:ia'; // USA format h:mm[am|pm\
$SITE['timeOnlyFormat'] = 'H:i'; // Euro format hh:mm (hh=00..23);
$SITE['dateOnlyFormat'] = 'd-m-Y'; // for 31-Mar-2008 or 'j/n/Y' for Euro formatCode: Select all
$SITE['WDdateMDY'] = false; // for weather software date format of month/day/year. =false for day/month/yearbe sure to turn off wxsim forecast because you don't have this change Settings.php in
Code: Select all
$SITE['WXSIM'] = false; // Set to false if you have not installed WXSIMHope this helps I'm going to sleep , otherwise I will try to look up tommorrow if you have further questions please specify your date format and time format in cumulus.
-
WX_Frank
- Posts: 82
- Joined: Sun 24 Jul 2011 9:12 am
- Weather Station: Davis Vantage Vue
- Operating System: Win7
- Location: Torrevieja/Spain
- Contact:
Re: Error in testtags.php
-----------nitrx wrote:1 I think you need dashes change the date format in Settings.php toWX_Frank wrote:Thanks again, Ron...I'm almost there - just a few questionsnitrx wrote:there is no direct link you need to go to http://saratoga-weather.org/wxtemplates/WXwebsite.php check the tab scripts choose Free Weather Website Templates and find out what you need for cumulus,
well you can dowload from here http://saratoga-weather.org/wxtemplates/install.php choose World Template .ZIP and Cumulus .ZIP but you better read the instructions.
1: Can't figure out why I got the wrong date & year?
2: on "wxforecast.php" the pictures wont show??
3: "Daily Stats" says: "Note: trends not available since weather station not yet specified".
Cheers,
FrankCode: Select all
$SITE['timeFormat'] = 'd-m-Y H:i'; // Euro format 31/03/2006 14:03 // $SITE['timeFormat'] = 'Y-m-d H:i'; // ISO format 2006-03-31 14:03 // $SITE['timeOnlyFormat'] = 'g:ia'; // USA format h:mm[am|pm\ $SITE['timeOnlyFormat'] = 'H:i'; // Euro format hh:mm (hh=00..23); $SITE['dateOnlyFormat'] = 'd-m-Y'; // for 31-Mar-2008 or 'j/n/Y' for Euro format2 you have upload the icons to the right directory, be sure you have a folder /cache it must be write-able use the command chmod 755 if that will not help use chmod 777Code: Select all
$SITE['WDdateMDY'] = false; // for weather software date format of month/day/year. =false for day/month/year
be sure to turn off wxsim forecast because you don't have this change Settings.php in3 I'm not sure this is a feature for cumulus but did you upload Settings-weather.php <-- this is a specific file from the cumulus.zipCode: Select all
$SITE['WXSIM'] = false; // Set to false if you have not installed WXSIM
Hope this helps I'm going to sleep , otherwise I will try to look up tommorrow if you have further questions please specify your date format and time format in cumulus.
1: Not solved!! (got an extra month while trying
Tried everything...no luck, and not exactly sure what you meant by "dash change.."
This is how it looks right now:
Code: Select all
// $SITE['timeFormat'] = 'D, d-M-Y g:ia T'; // Day, 31-Mar-2006 6:35pm Tz (USA Style)
// $SITE['timeFormat'] = 'm/d/Y g:ia'; // USA format 03/31/2006 14:03
$SITE['timeFormat'] = 'H:i d/m/Y'; // Euro format 31/03/2006 14:03
// $SITE['timeFormat'] = 'Y-m-d H:i'; // ISO format 2006-03-31 14:03
$SITE['WDdateMDY'] = false; // for weather software date format of month/day/year. =false for day/month/year
// $SITE['timeOnlyFormat'] = 'g:ia'; // USA format h:mm[am|pm\
$SITE['timeOnlyFormat'] = 'H:i'; // Euro format hh:mm (hh=00..23);
$SITE['dateOnlyFormat'] = 'd/m/Y'; // for 31-Mar-2008 or 'j/n/Y' for Euro format 3: Not solved!
The "Settings-weather.php" was uploaded!
The time on my "old" page shows: "<caption>Conditions at local time 22:40 on 07 oktober 2011</caption>".
Hope we can figure this out later today....bedtime here as well - thanks again for helping out
-
gemini06720
- Posts: 1700
- Joined: Mon 10 Aug 2009 10:16 pm
- Weather Station: No weather station
- Operating System: No operating system
- Location: World...
Re: Error in testtags.php
First, Frank, the the 'PHP/AJAX Website Template Set' produced by Saratoga-Weather are NOT for 'beginner' weather station operators - a basic knowledge of HTML and PHP (two web page programming languages) is required!
Before downloading and trying to install the 'PHP/AJAX Website Template Set', Frank, did spend a few minutes reading (and trying to understand) the instructions which Ken True (the designer) spent a lot of time preparing for new users like you...
Just to confirm what Ron has already written, every files found inside the 'cumulus.ZIP' (including the 'Settings-weather.php' script) have to be included into the directory/folder where the 'World Template .ZIP' has been (should have been) extracted.
Before even trying to obtain some web page results (display), two files MUST be edited: 'Settings.php' and 'Settings-weather.php' - information on how those files should be edited can be found on the instructions web pages.
Which software are you using to produce the 'testtags.php' file you mentioned in your first messages - Cumulus certainly DOES NOT produce such a file - that file is only produced by Weather Display!
Unless you are using a special software, you cannot operate/run both Cumulus and Weather Display on the same computer at the same time - so, you have to choose which weather software you want to use.
You have two main weather pages on your server, one produce by Cumulus (index.htm) and one produce by Weather Display (wxindex.php).
For the Cumulus main page (index.htm) to display proprely, you MUST install all the files required - have a look at this well written guide to find out which files have to be uploaded and to which directory/folder ... you are missing one important file, the 'weatherstyle.css'...
Your other main page (wxindex.php) is displaying the wrong date format - more likely, because either your computer or Cumulus or some of the PHP scripts are not set properly to use the same date format.
Note: The latest and official release of Cumulus 1.9.2 (5th October 2011) is available from the Sandaysoft Downloads page - this is now the only supported release of Cumulus.
One last point: When you reply to a message, there is no need to quote the whole message - please, just quote the information to which you are replying.
Before downloading and trying to install the 'PHP/AJAX Website Template Set', Frank, did spend a few minutes reading (and trying to understand) the instructions which Ken True (the designer) spent a lot of time preparing for new users like you...
Just to confirm what Ron has already written, every files found inside the 'cumulus.ZIP' (including the 'Settings-weather.php' script) have to be included into the directory/folder where the 'World Template .ZIP' has been (should have been) extracted.
Before even trying to obtain some web page results (display), two files MUST be edited: 'Settings.php' and 'Settings-weather.php' - information on how those files should be edited can be found on the instructions web pages.
Which software are you using to produce the 'testtags.php' file you mentioned in your first messages - Cumulus certainly DOES NOT produce such a file - that file is only produced by Weather Display!
Unless you are using a special software, you cannot operate/run both Cumulus and Weather Display on the same computer at the same time - so, you have to choose which weather software you want to use.
You have two main weather pages on your server, one produce by Cumulus (index.htm) and one produce by Weather Display (wxindex.php).
For the Cumulus main page (index.htm) to display proprely, you MUST install all the files required - have a look at this well written guide to find out which files have to be uploaded and to which directory/folder ... you are missing one important file, the 'weatherstyle.css'...
Your other main page (wxindex.php) is displaying the wrong date format - more likely, because either your computer or Cumulus or some of the PHP scripts are not set properly to use the same date format.
Note: The latest and official release of Cumulus 1.9.2 (5th October 2011) is available from the Sandaysoft Downloads page - this is now the only supported release of Cumulus.
One last point: When you reply to a message, there is no need to quote the whole message - please, just quote the information to which you are replying.
-
WX_Frank
- Posts: 82
- Joined: Sun 24 Jul 2011 9:12 am
- Weather Station: Davis Vantage Vue
- Operating System: Win7
- Location: Torrevieja/Spain
- Contact:
Re: Error in testtags.php
Hi Ray, and thanks for replygemini06720 wrote:First, Frank, the the 'PHP/AJAX Website Template Set' produced by Saratoga-Weather are NOT for 'beginner' weather station operators - a basic knowledge of HTML and PHP (two web page programming languages) is required!![]()
Before downloading and trying to install the 'PHP/AJAX Website Template Set', Frank, did spend a few minutes reading (and trying to understand) the instructions which Ken True (the designer) spent a lot of time preparing for new users like you...![]()
Just to confirm what Ron has already written, every files found inside the 'cumulus.ZIP' (including the 'Settings-weather.php' script) have to be included into the directory/folder where the 'World Template .ZIP' has been (should have been) extracted.
Before even trying to obtain some web page results (display), two files MUST be edited: 'Settings.php' and 'Settings-weather.php' - information on how those files should be edited can be found on the instructions web pages.
Which software are you using to produce the 'testtags.php' file you mentioned in your first messages - Cumulus certainly DOES NOT produce such a file - that file is only produced by Weather Display!
Unless you are using a special software, you cannot operate/run both Cumulus and Weather Display on the same computer at the same time - so, you have to choose which weather software you want to use.
You have two main weather pages on your server, one produce by Cumulus (index.htm) and one produce by Weather Display (wxindex.php).
For the Cumulus main page (index.htm) to display proprely, you MUST install all the files required - have a look at this well written guide to find out which files have to be uploaded and to which directory/folder ... you are missing one important file, the 'weatherstyle.css'...
Your other main page (wxindex.php) is displaying the wrong date format - more likely, because either your computer or Cumulus or some of the PHP scripts are not set properly to use the same date format.
Note: The latest and official release of Cumulus 1.9.2 (5th October 2011) is available from the Sandaysoft Downloads page - this is now the only supported release of Cumulus.
One last point: When you reply to a message, there is no need to quote the whole message - please, just quote the information to which you are replying.
Sorry about quoting the wrong way
In the past 15 years i used several of weather stations and software (last one a Ultimeter 2100 with WD and WDLive), and running websites without calling myself an expert in no ways, but here I was stuck my friend!
I've read the install instructions several times, but maybe at the wrong time of the day
PS: Thanks for notifying me about the missing 'weatherstyle.css'....I'm sure I deleted it by a mistake when I cleaned up on my server for a fresh start.
I also updated to Cumulus 1.9.2 (5th October 2011) !!
Do I have to change anything here in the 'ajax-dashboard.php' compared to the 'Setting.php' (below)?
Code: Select all
// $timeFormat = 'D, d-M-Y g:ia T'; // Fri, 31-Mar-2006 6:35pm TZone
$timeFormat = 'd-M-Y g:ia'; // Fri, 31-Mar-2006 6:35pm TZone
$timeOnlyFormat = 'g:ia'; // h:mm[am|pm];
//$timeOnlyFormat = 'H:i'; // hh:mm
$dateOnlyFormat = 'd-M-Y'; // d-Mon-YYYY
$WDdateMDY = true; // true=dates by WD are 'month/day/year'
// // false=dates by WD are 'day/month/year'Code: Select all
$SITE['WDdateMDY'] = false; // for weather software date format of month/day/year. =false for day/month/year
$SITE['timeFormat'] = 'd-m-Y H:i'; // Euro format 31/03/2006 14:03
// $SITE['timeFormat'] = 'Y-m-d H:i'; // ISO format 2006-03-31 14:03
// $SITE['timeOnlyFormat'] = 'g:ia'; // USA format h:mm[am|pm\
$SITE['timeOnlyFormat'] = 'H:i'; // Euro format hh:mm (hh=00..23);
$SITE['dateOnlyFormat'] = 'd-m-Y'; // for 31-Mar-2008 or 'j/n/Y' for Euro formatShould I stop this and remove the files in use like '.index.htm', etc?
Regards,
Frank.
- nitrx
- Posts: 1297
- Joined: Sun 13 Dec 2009 1:21 pm
- Weather Station: WH1080
- Operating System: Windows 10
- Location: Apeldoorn The Netherlands
- Contact:
Re: Error in testtags.php
Hi Frank the index files in your root dir don't touch the templates in the php directory, about the dahes I meant yor date notation I asked you how that was set.
I saw you use the date format dd.mm.yyyy so seperated with a point you can dump and vieuw the output for almost every page by example http://www.torrevieja-weather.net/CUtags.php?sce=view I think there is something wrong in your date settings, your date noationa is added in the latest release but I don't know how you have to set this because I've not downloaded this version.
I think you have to concentrate on date format your index.php gives also errors http://www.torrevieja-weather.net/wxindex.php?sce=view
I'm sure the are people over here with the Spanish date notation where it works properly, I will try to download the new files if you can't fix it but no guarantuees
BTW the date will be with slahses in the top too if your settings are ok
I saw you use the date format dd.mm.yyyy so seperated with a point you can dump and vieuw the output for almost every page by example http://www.torrevieja-weather.net/CUtags.php?sce=view I think there is something wrong in your date settings, your date noationa is added in the latest release but I don't know how you have to set this because I've not downloaded this version.
I think you have to concentrate on date format your index.php gives also errors http://www.torrevieja-weather.net/wxindex.php?sce=view
I'm sure the are people over here with the Spanish date notation where it works properly, I will try to download the new files if you can't fix it but no guarantuees
BTW the date will be with slahses in the top too if your settings are ok
- nitrx
- Posts: 1297
- Joined: Sun 13 Dec 2009 1:21 pm
- Weather Station: WH1080
- Operating System: Windows 10
- Location: Apeldoorn The Netherlands
- Contact:
Re: Error in testtags.php
I'm not sure but in your ajaxCUwx.js the is set to false maybe you have to set this to true because youre decimalseparator is a comma ?
I've set this to true (this setting isn't documented
)
Code: Select all
var decimalComma = false; // =false for '.' as decimal point, =true for ',' (comma) as decimal pointI've set this to true (this setting isn't documented