Page 32 of 49

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Sat 24 Jul 2021 11:16 pm
by BCJKiwi
CumulusMX UI style Multilingual Website Ver 2.2.3

Updated version available in first post this thread.

Enjoy :)

Re: CumulusMX UI style Multilingual Website

Posted: Fri 30 Jul 2021 9:16 pm
by BCJKiwi
CumulusMX UI style Multilingual Website build 2.2.3 Error

Have been advised that the name changed CumulusMX/web/records-saMXT.js is missing from the distro.
So, Please rename
CumulusMX/web/recordsMXT.js
to
CumulusMX/web/records-saMXT.js

The addition of -sa to the various .js files was done as some users run multiple websites from the same folder relying on the different file names to keep things separated which does not work when the files have different content and the same name for the different websites !

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Wed 04 Aug 2021 10:52 pm
by mimo57
Hello,
I just updated with version 2.2.3 of the template, and I have a problem with historical graphics. I don't have a display for "Degree days" and "Temp sum".
I tried the old version and it's OK. Do you have a way to solve this problem?

Thx

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Wed 04 Aug 2021 11:10 pm
by BCJKiwi
There does not seem to be an alltempsumdata.json file in the main folder.

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Thu 05 Aug 2021 9:08 pm
by mimo57
Thank you, always so efficient BCJKiwi.
That said in my old version it was present and there more ... ???
I must have made a false manipulation in the modifications of Cumulus.ini :bash:

Thanks again

Re: CumulusMX UI style Multilingual Website JPGRAPHS

Posted: Fri 06 Aug 2021 12:29 am
by BCJKiwi
CumulusMX UI style Multilingual Website JPGRAPHS

The MXUI template utilises jpgraphs for the first block in the first row of the dashboard, and to provide graphs for the gauges mouse over.

However, there has been recent issues arising with the display of these graphs with PHP 8

Our public web server runs php 7.4.16
Our local development WAMP web server has been running PHP 8.0.7 for a while
Both have been displaying the jpgraphs without issue until today but was alerted to this issue yesterday.

After some testing and searching have found a combination that appears to work OK.
1. Upgraded jpgraphs from ver 4.2.0 to ver 4.3.4
2. Upgraded php from ver 8.0.7 to ver 8.0.9

Have also checked that PHP 7.4.16 and 7.4.22 are also OK in the local webserver.

So, for those of you game to try, have attached an updated jpgraph folder.
BUT:- php ver 7.x.x or ver 8.0.9 is the key to fixing the issue.

jpgraph.zip

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Fri 06 Aug 2021 1:54 am
by billy
thanks for the update. One minor omission from the changed files list - footer.php

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Fri 06 Aug 2021 2:08 am
by BCJKiwi
Thanks, The only change is the template version number:-

MXUI <span lang="en">Template</span> v 2.2.2 <span lang="en">by</span>&nbsp;
to
MXUI <span lang="en">Template</span> v 2.2.3 <span lang="en">by</span>&nbsp;

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Fri 06 Aug 2021 3:03 am
by billy
yes that's how I discovered it - did all the changes but there was no change to the version number ;) And thanks for that addition - a couple of revisions ago - it was much appreciated.

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Fri 06 Aug 2021 9:27 pm
by BCJKiwi
CumulusMX UI style Multilingual Website JPGRAPHS

Well, It seems the fix is not all that I thought it would be.
Today, the temp chart is not displaying in block 1 first row of the dashboard with php 8.0.9

So, I am at a loss as to why these charts have been working fine for years (elsewhere) and since they were first introduced into the MXUI template with php 7 and subsequently php 8.
Why they should suddenly stop functioning properly is a mystery to me.

Will keep digging but not sure what or when the resolution will be BUT is still good with php 7.

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Sat 07 Aug 2021 2:33 pm
by mimo57
Hello,
I also use a local web server (XAMPP), because I plan to remove my internet hosting at the end of the month. There are no small savings. :lol: .
I am experiencing, I think this is what BCJkiwi described, problems with the graphics on the "DASHBOARD" page, and also on the "VP2 Console" page
XAMPP uses PHP 8.09 which leads me to assume it's the same problem. :evil:
I just upgraded to PHP 7.4.14 and everything is working correctly except the "VP2 Console" page which still has an error. :bash:
Thank you for the confirmation and if so, research work to resolve this issue.

link of my local hosting: http://mimo57.ddnsfree.com

Cordially

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Sat 07 Aug 2021 8:50 pm
by BCJKiwi
Re ../wxshare
I use the separate wxshare folder on my local and public systems to hold the data files for all the websites to avoid having to copy the data files to multiple places.
I attempt to eliminate the wxshare reference from the distro but every now and then I miss one.
The current distro is correct.

In davconvp2CUmx.php
line 104
$age = time() - filemtime('../wxshare/CUtags.php'); // age of tag file
change line to
$age = time() - filemtime('./CUtags.php'); // age of tag file

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Sun 08 Aug 2021 7:27 pm
by mimo57
BCJKiwi wrote: Sat 07 Aug 2021 8:50 pm Re ../wxshare
I use the separate wxshare folder on my local and public systems to hold the data files for all the websites to avoid having to copy the data files to multiple places.
I attempt to eliminate the wxshare reference from the distro but every now and then I miss one.
The current distro is correct.

In davconvp2CUmx.php
line 104
$age = time() - filemtime('../wxshare/CUtags.php'); // age of tag file
change line to
$age = time() - filemtime('./CUtags.php'); // age of tag file
thanks

Re: CumulusMX UI style Multilingual Website

Posted: Tue 10 Aug 2021 10:42 am
by BCJKiwi
CumulusMX UI style Multilingual Website JPGRAPHS

I contacted Asial ( Jpgraphs ) via their on line contact page.
Their response is:-
Thank you for contacting us.
We are planning to release the new version of JpGraph, which supports PHP 8 near future.
Please wait for a while.

Best regards,
JpGraph Support Team

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Tue 10 Aug 2021 12:27 pm
by Dennisdg
Great, thanks for the news.