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
CumulusMX and Cumulus1 UI style Multilingual Websites
-
- Posts: 1255
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
The simplest way to manage updates is to use a package like Diffmerge or Winmerge.
These packages enable you to easily compare old with new and to copy your unique settings into the new files.
These packages enable you to easily compare old with new and to copy your unique settings into the new files.
-
- Posts: 82
- Joined: Tue 12 May 2020 11:41 am
- Weather Station: Davis Vantage Pro 2
- Operating System: Raspberry Pi 4B
- Location: Amersfoort, The Netherlands
- Contact:
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Hello Brian, after I updated the nav_menu.php it, I now get the following error message, something about ''Undefined index: HTTP_USER_AGENT on line 86''
/var/log/nginx/error.log
nav_menu.php
My knowledge in this area is completely lacking, where to look for it.
/var/log/nginx/error.log
Code: Select all
2022/03/01 21:29:51 [error] 599#599: *132 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: HTTP_USER_AGENT in /var/www/html/nav_menu.php on line 84PHP message: PHP Notice: Undefined index: HTTP_USER_AGENT in /var/www/html/nav_menu.php on line 86" while reading upstream, client: 190.52.41.163, server: _, request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "82.163.40.184"
Code: Select all
line 86 preg_match('/Trident\/\d{1,2}.\d{1,2}; rv:([0-9]*)/', $_SERVER['HTTP_USER_AGENT'], $matches);
Weather Station: Amersfoort-Nieuwland, The Netherlands.
http://element14.synology.me
http://element14.synology.me
-
- Posts: 1255
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Well, that is all about a test for the old internet explorer which cannot handle the selectachart.
It is designed to block the loading of selectachart if you are running IE by removing the option from the charts menu item.
It works OK in my testing.
Are you running IE ?
It is designed to block the loading of selectachart if you are running IE by removing the option from the charts menu item.
It works OK in my testing.
Are you running IE ?
-
- Posts: 82
- Joined: Tue 12 May 2020 11:41 am
- Weather Station: Davis Vantage Pro 2
- Operating System: Raspberry Pi 4B
- Location: Amersfoort, The Netherlands
- Contact:
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Brian, no, I see this error without a browser, when I start the RPI4B I get this in /var/log/nginx/error.log
And if I use a browser it is Firefox or Edge on Win10.
Code: Select all
2022/03/01 21:29:51 [error] 599#599: *132 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: HTTP_USER_AGENT in /var/www/html/nav_menu.php on line 84PHP message: PHP Notice: Undefined index: HTTP_USER_AGENT in /var/www/html/nav_menu.php on line 86" while reading upstream, client: 190.52.41.163, server: _, request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "82.163.40.184"
2022/03/01 21:30:56 [error] 599#599: *134 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: HTTP_USER_AGENT in /var/www/html/nav_menu.php on line 84PHP message: PHP Notice: Undefined index: HTTP_USER_AGENT in /var/www/html/nav_menu.php on line 86" while reading upstream, client: 45.137.23.152, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "82.163.40.184:80"
2022/03/01 21:45:33 [error] 599#599: *137 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: HTTP_USER_AGENT in /var/www/html/nav_menu.php on line 84PHP message: PHP Notice: Undefined index: HTTP_USER_AGENT in /var/www/html/nav_menu.php on line 86" while reading upstream, client: 2.237.172.168, server: _, request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "82.163.40.184"
2022/03/02 01:52:04 [error] 595#595: *6 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: HTTP_USER_AGENT in /var/www/html/nav_menu.php on line 84PHP message: PHP Notice: Undefined index: HTTP_USER_AGENT in /var/www/html/nav_menu.php on line 86" while reading upstream, client: 45.137.21.141, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "82.163.40.184:80"
2022/03/02 04:36:06 [error] 595#595: *15 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: HTTP_USER_AGENT in /var/www/html/nav_menu.php on line 84PHP message: PHP Notice: Undefined index: HTTP_USER_AGENT in /var/www/html/nav_menu.php on line 86" while reading upstream, client: 45.137.21.141, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "82.163.40.184:80"
2022/03/02 08:34:54 [error] 595#595: *86 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: HTTP_USER_AGENT in /var/www/html/nav_menu.php on line 84PHP message: PHP Notice: Undefined index: HTTP_USER_AGENT in /var/www/html/nav_menu.php on line 86" while reading upstream, client: 159.65.103.122, server: _, request: "GET / HTTP/1.0", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:"
2022/03/02 12:42:24 [error] 595#595: *111 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: HTTP_USER_AGENT in /var/www/html/nav_menu.php on line 84PHP message: PHP Notice: Undefined index: HTTP_USER_AGENT in /var/www/html/nav_menu.php on line 86" while reading upstream, client: 184.105.247.195, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "82.163.40.184"
2022/03/02 13:53:31 [error] 595#595: *175 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: HTTP_USER_AGENT in /var/www/html/nav_menu.php on line 84PHP message: PHP Notice: Undefined index: HTTP_USER_AGENT in /var/www/html/nav_menu.php on line 86" while reading upstream, client: 2.56.59.20, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "82.163.40.184:80"
Weather Station: Amersfoort-Nieuwland, The Netherlands.
http://element14.synology.me
http://element14.synology.me
-
- Posts: 1255
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Sorry, can't help - have no experience with nginx or RPI
BUT,
Our public website host does run nginx in front of Apache and we have no issues there.
Since you are not running IE, you could just rem out (or delete)
However viewers who still run IE will have issues with selectachart not loading.
BUT,
Our public website host does run nginx in front of Apache and we have no issues there.
Since you are not running IE, you could just rem out (or delete)
Code: Select all
<?php /*// IE is too inefficient to reliably process selectachart !!
preg_match('/MSIE (.*?);/', $_SERVER['HTTP_USER_AGENT'], $matches);
if(count($matches)<2){
preg_match('/Trident\/\d{1,2}.\d{1,2}; rv:([0-9]*)/', $_SERVER['HTTP_USER_AGENT'], $matches);
}
if (count($matches)<1){ // Remove selectachart if Browser is IE
*/?>
-
- Posts: 82
- Joined: Tue 12 May 2020 11:41 am
- Weather Station: Davis Vantage Pro 2
- Operating System: Raspberry Pi 4B
- Location: Amersfoort, The Netherlands
- Contact:
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Hi Brian, I couldn't get that error out, I have now reinstalled (UIMX v2.23a) and is now running flawlessly without MXdiags filling up with error messages.
My RPI4B was still running under Debian (10) Buster, which I upgraded to Debian (11) Bullseye.
I also updated PHP- FPM from 7.4 to 8.1, maybe this is my problem too, I'm not so sure.
The problem I have now is that I don't see 6 charts on the Dashboard, nor do I mouse-over on the gauges, there is a window but no image.
The screenshot clarifies a few things.
Is this a PHP 8.1 problem or should I go back to 7.4, please give me your advice, I have already started with F12 but can't figure it out.
Sjaak.
My RPI4B was still running under Debian (10) Buster, which I upgraded to Debian (11) Bullseye.
I also updated PHP- FPM from 7.4 to 8.1, maybe this is my problem too, I'm not so sure.
The problem I have now is that I don't see 6 charts on the Dashboard, nor do I mouse-over on the gauges, there is a window but no image.
The screenshot clarifies a few things.
Is this a PHP 8.1 problem or should I go back to 7.4, please give me your advice, I have already started with F12 but can't figure it out.
Sjaak.
You do not have the required permissions to view the files attached to this post.
Weather Station: Amersfoort-Nieuwland, The Netherlands.
http://element14.synology.me
http://element14.synology.me
-
- Posts: 1255
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
The charts on the dashboard will not work with PHP 8.x.x
The jpgraph system requires a rewrite for php 8
Asial advised me back in early August 2021:-
"We are planning to release the new version of JpGraph, which supports PHP 8 near future.
Please wait for a while."
There has not been any progress to date.
No one else has reported the issue you have with nav_menu so I do not know how to assist.
I don't understand:-
The jpgraph system requires a rewrite for php 8
Asial advised me back in early August 2021:-
"We are planning to release the new version of JpGraph, which supports PHP 8 near future.
Please wait for a while."
There has not been any progress to date.
No one else has reported the issue you have with nav_menu so I do not know how to assist.
I don't understand:-
as that is what you should have been running anyway as it is the latest release.I have now reinstalled (UIMX v2.23a)
-
- Posts: 82
- Joined: Tue 12 May 2020 11:41 am
- Weather Station: Davis Vantage Pro 2
- Operating System: Raspberry Pi 4B
- Location: Amersfoort, The Netherlands
- Contact:
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Hi Brian, what I meant by reinstalling v2.23a is that I was still using v2.23 before this, I reinstalled everything from the beginning. That worked out well because I have now lost all error messages in MXdiags.
The MXdiags folder was filled with error messages in no time.
Within an hour I sometimes had 32Gb of error messages, now this is history. Now I have normal log files of 9kb.
Still I find it strange that I see the 6 maps on your site including the temperature map, I did not see the temperature map when I used PHP-FPM 7.4.
In the note of v2.23a you wrote: ''Version 2.2.3 adds build 3133 features plus php8 compatibility''.
So what are you using as PHP version, if that is PHP8 why is it not working here?
I will downgrade PHP-FPM 8.1 back to 7.4 because this doesn't look like it.
Sjaak.
The MXdiags folder was filled with error messages in no time.
Within an hour I sometimes had 32Gb of error messages, now this is history. Now I have normal log files of 9kb.
Still I find it strange that I see the 6 maps on your site including the temperature map, I did not see the temperature map when I used PHP-FPM 7.4.
In the note of v2.23a you wrote: ''Version 2.2.3 adds build 3133 features plus php8 compatibility''.
So what are you using as PHP version, if that is PHP8 why is it not working here?
I will downgrade PHP-FPM 8.1 back to 7.4 because this doesn't look like it.
Sjaak.
Weather Station: Amersfoort-Nieuwland, The Netherlands.
http://element14.synology.me
http://element14.synology.me
-
- Posts: 1255
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
The changes in php8 have been rapid and php compatibility is no longer supported with the current versions of PHP8.
Have removed the reference to php8 from the first post.
Have been working on php updates for affected pages but have no resolution for jpgraph.
Have removed the reference to php8 from the first post.
Have been working on php updates for affected pages but have no resolution for jpgraph.
-
- Posts: 82
- Joined: Tue 12 May 2020 11:41 am
- Weather Station: Davis Vantage Pro 2
- Operating System: Raspberry Pi 4B
- Location: Amersfoort, The Netherlands
- Contact:
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Hello Brian, I notice that the day of the week indication is not correct in different languages.
In the Netherlands it is now ''Maandag'', but at the top of the website it says ''Monday'' when I click the Dashboard tab, with other tabs I do not have this effect. If I switch to the German language I have the same problem, the day display is also in English and not in German, first thought it was just me here but at your site https://silveracorn.nz/cumulusmx/ there is the same problem.
Sjaak.
In the Netherlands it is now ''Maandag'', but at the top of the website it says ''Monday'' when I click the Dashboard tab, with other tabs I do not have this effect. If I switch to the German language I have the same problem, the day display is also in English and not in German, first thought it was just me here but at your site https://silveracorn.nz/cumulusmx/ there is the same problem.
Sjaak.
You do not have the required permissions to view the files attached to this post.
Weather Station: Amersfoort-Nieuwland, The Netherlands.
http://element14.synology.me
http://element14.synology.me
- ARootBear
- Posts: 26
- Joined: Sun 25 Nov 2012 4:04 pm
- Weather Station: Vantage Vue + WLL
- Operating System: Windows 10
- Location: Newfoundland Canada
- Contact:
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
While this is not an ideal solution, I deleted the humidity series from the temp/humidity jpgraph and have not had an error since (previously I would get error 2003 >80% of the time).
Brigus, Newfoundland, Canada. http://brigusweather.com
-
- Posts: 1255
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
There are a number of issues with jpgraphs.
Have tried the various versions without much success.
The current versions do not work with php 8.
8 months ago, I emailed Asial (developers of jpgraph) and they advised they were going to update.
I emailed them a couple of days ago and the emails are bouncing so not sure what is going on.
Life was simpler with Cumulus1 as the graphs were generated by Cumulus and uploaded to the website.
It may be that the jpgraphs will have to be discontinued in the near future ( they are not available in the new default website for MX ).
Have tried the various versions without much success.
The current versions do not work with php 8.
8 months ago, I emailed Asial (developers of jpgraph) and they advised they were going to update.
I emailed them a couple of days ago and the emails are bouncing so not sure what is going on.
Life was simpler with Cumulus1 as the graphs were generated by Cumulus and uploaded to the website.
It may be that the jpgraphs will have to be discontinued in the near future ( they are not available in the new default website for MX ).
- 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: CumulusMX and Cumulus1 UI style Multilingual Websites
Apparently you can get an unofficial PHP 8.1 compatible version of JPGraphs from here: https://github.com/mitoteam/jpgraph
Read to main page, it explains about getting the release and extracting the src to get the compatible library.
Not tried it myself though - I picked it up from the wxforum.
Read to main page, it explains about getting the release and extracting the src to get the compatible library.
Not tried it myself though - I picked it up from the wxforum.
-
- Posts: 1255
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: CumulusMX and Cumulus1 UI style Multilingual Websites
Have attempted this without success.
Maybe I just don't know what I'm doing??
Maybe I just don't know what I'm doing??
- 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: CumulusMX and Cumulus1 UI style Multilingual Websites
Some hope, maybe?! From WW forum...
"I emailed JPGraph yesterday and they said they will have a new version compatible with PHP 8.1 in a few days time."
"I emailed JPGraph yesterday and they said they will have a new version compatible with PHP 8.1 in a few days time."