Page 18 of 49

Re: CumulusMX and Cumulus1 UI style Multilingual Websites V 2.1.1

Posted: Thu 01 Oct 2020 7:34 pm
by BCJKiwi
It is the realtime interval,
So, is set in ajaxCUmx.js

CumulusMX -lost formatting

Posted: Fri 02 Oct 2020 9:10 am
by brookr
Overnight for some unknown reason I lost all my background and formatting.
What could be wrong? Paul My has very kindly been working on achieving my goal on a fully functional CumulusMX website. I'm very grateful for his help.
I'm gutted what has happened and hope that we can recover the site without too much hassle, especially as Paul as worked so hard.
http://leedsweathercentre.co.uk/index.php
:oops: :( :groan:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites V 2.1.2

Posted: Fri 02 Oct 2020 9:26 am
by BCJKiwi
CumulusMX and Cumulus1 UI style Multilingual Websites V 2.1.2

New file sets in First post this thread.
As noted many of the changes have been posted in previous posts since the main files were last updated.
However there a number of additional changes and the davcon files have been further improved (Thanks beteljuice) since the previous posts relating to the davcon files.

Please review the changelogs and be sure to check the file headers for the date NOT the date that shows in a directory listing as these are not always consistent.

Hopefully this set is complete and correct.
Enjoy

Re: CumulusMX -lost formatting

Posted: Fri 02 Oct 2020 9:35 am
by Mapantz
brookr wrote: Fri 02 Oct 2020 9:10 am Overnight for some unknown reason I lost all my background and formatting.
What could be wrong? Paul My has very kindly been working on achieving my goal on a fully functional CumulusMX website. I'm very grateful for his help.
I'm gutted what has happened and hope that we can recover the site without too much hassle, especially as Paul as worked so hard.
http://leedsweathercentre.co.uk/index.php
:oops: :( :groan:
Your css file is missing from the correct directory:

It's here:

http://leedsweathercentre.co.uk/main.css

Rather then here:

http://leedsweathercentre.co.uk/css/main.css

Re: CumulusMX -lost formatting

Posted: Fri 02 Oct 2020 9:37 am
by freddie
Looks like files have gone missing from your http://leedsweathercentre.co.uk/css/ folder. You will need to upload them again. The files are main.css, font-style.css, cumulus.css, index.css, gauges-ss.css.

Re: CumulusMX -lost formatting

Posted: Fri 02 Oct 2020 9:40 am
by HansR
@brookr: I see Mapantz already answered the question, but I think this is not an MX related question but about BCJkiwi's new template.
So the thread is here.
No doubt freddie will move it, but for subsequent questions...

Re: CumulusMX and Cumulus1 UI style Multilingual Websites V 2.1.2

Posted: Fri 02 Oct 2020 12:05 pm
by billy
I have just noticed that the left and right y-axis titles for the rain pop-up graph are incorrect. The left side scale is for rainfall rate but the title states rainfall; and vice-versa for the right.

Screenshot 2020-10-02 193855.jpg
We have had 1.8 mm so far today - in agreement with the scale on the right. The plot with correct titles is

Screenshot 2020-10-02 194226.jpg
Correction involves tweaking graphRain.php as per below - lines to be deleted and added (transposed with very minor change) are highighted. (the original lines are commented out)

Screenshot 2020-10-02 195437.jpg

Re: CumulusMX and Cumulus1 UI style Multilingual Websites V 2.1.2

Posted: Fri 02 Oct 2020 7:54 pm
by BCJKiwi
Thanks billy,

It is interesting that no one has noticed this before - file has not changed in a long while.
Corrected file attached - Version MX_2.1.2 - 3-Oct-2020

First post this thread updated.

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Sat 03 Oct 2020 3:16 am
by billy
yes - amazing how we can look at things and just "know" what it intended without actually looking at the detail. I've really no idea why I spotted it :?

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Sun 18 Oct 2020 8:35 pm
by BCJKiwi
!!! UPDATED LANGUAGE FILE !!!

sutne has advised there is a corrupted accent character (which occurs in many places) in the ver 2.1.2 ./langlib/nb.json distributed file.

If you are providing Norwegian translations on your site, Please replace the
ver 2.1.2 ./langlib/nb.json
file,with this one
version 2.1.2a dated 16-Oct-2020
nb.zip

Re: CumulusMX UI style Multilingual Website

Posted: Fri 30 Oct 2020 10:04 pm
by BCJKiwi
realtimegaugesT.txt with Feels Like CumulusMX Only
realtimegaugesT.zip
It seems that this updated file is missing from the 2.1.2 distribution files.
Please replace ( in Cumulusmx\web ) existing file with this one.

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Fri 30 Oct 2020 10:49 pm
by mimo57
Thx

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Sat 31 Oct 2020 2:29 am
by PaulMy
Thanks Brian,
Updated the file and all is fine.

Enjoy,
Paul

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Mon 16 Nov 2020 12:49 am
by BCJKiwi
Version 2.1.3 update

Updated file sets in first post this thread.
Version 2.1.3 is a full file set including unchanged Version 2.1.2 files.
There are a few 'fixes' and some minor refinements including minimising files where practical.
Please check the changelogs in the main folders and in the Options folders including the separate options davcon folder.

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Mon 16 Nov 2020 11:48 am
by sutne
Version 2.1.3:

CumulusMX does not like the new realtime-xT.txt:

Code: Select all

2020-11-16 12:34:28.830 Web tag error in file: /home/pi/CumulusMX/web/realtime-xT.txt
2020-11-16 12:34:28.830 token=<#Version MX_2.1.3 - 15-Nov-2020>
2020-11-16 12:34:28.830 Position in file (character)=437
2020-11-16 12:34:28.830 Exception: i=436 len=2097
2020-11-16 12:34:28.831 inputText.Length=2097
2020-11-16 12:34:28.835 System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x0000c] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at CumulusMX.Cumulus.TokenParserOnToken (System.String strToken, System.String& strReplacement) [0x00042] in <f5da340e60684de0942398858416b40e>:0 
  at CumulusMX.TokenParser.Parse3 () [0x000a3] in <f5da340e60684de0942398858416b40e>:0 
2020-11-16 12:34:28.836 ** The output file will contain an error message starting "**Web tag error"
2020-11-16 12:35:00.304 DoLogFile: Writing log entry for 16/11/2020 12:35:00
2020-11-16 12:35:00.306 DoLogFile: Written log entry for 16/11/2020 12:35:00
2020-11-16 12:35:00.315 Writing today.ini, LastUpdateTime = 16/11/2020 12:35:00 raindaystart = 767.08 rain counter = 770.89