Page 25 of 49

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Sat 10 Apr 2021 5:09 pm
by Dennisdg
I notice your https://www.meteo-orny.fr/1MX/ site looks to be working, but you are using NZAA (Auckland Airport), perhaps that needs changing to somewhere more local?

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Sat 10 Apr 2021 5:22 pm
by Fredsc13
My web hosting reports the following error:

[Sat Apr 10 19:19:30.539170 2021] [proxy_fcgi:error] [pid 25482:tid 140683918464768] [client 2a01:cb1c:8e1:7200:48a3:1301:8cf9:178c:55218] AH01071: Got error 'PHP message: PHP Warning: Undefined array key "sso_meteo-meyrargues.fr_lastuser" in /var/www/default/htdocs_appslogin/login.php on line 90PHP message: ticket : uid=meteo1505365;validuntil=1618078767;graceperiod=1618078167;tokens=meteo-meyrargues.fr;udata=;sig=nuyV2I+8PKWWTr5+kLWAiAIvNBm+vlAOaDpnZ5C+h4P0DgQT6c9Mio7rDHF8FMYgISIGYRUvqinLn9KvT/cp5BfdrUCpnX9vWVAHWMTZOLeJsSKMt/jlVa/DpjinmQhjmA6PPw8CYN4QO2r6OVunr7A3emY+A9QKbXlk/6BsQljKkgagVWRTIFMjhEGBfrcrseC3eIeuD2+1BYWKU3YpLDDLvl7o0jFOBnNHRpSrKJ8KTCk9rbStnBo73//eF7azw+boB2xMo0WVLBHHxSrRHAbOlbsHvK3NAxN0oPnM9e+C2cUleO4qnQ6zalQhy8l2Wlfx7+RCYTMeBmPUze9ikg==PHP message: ticket : OK', referer: https://panel.lws.fr/

It's like Chinese for me :lol:

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Sat 10 Apr 2021 5:41 pm
by meteosini
meteosini wrote: Sat 10 Apr 2021 3:39 pm
uktricky wrote: Sat 10 Apr 2021 1:43 pm Gauges issue

Had my setting set to generate and upload Realtimegauges.txt but static gauges without data
checked the MXDiag log file and was getting a file not found
Copied the realtimegaugesT.txt from the backup made of the original web folder
All working now...

Might help others...
I also solved it like this. but I have the problem of multilingual .... it only recognizes English. I did a test by copying the files without making any changes to see if I made any mistakes ..... but nothing does not change my language
redone everything from scratch I have the same problem !! Where am I wrong ?? here is my site

http://riminimeteocitta.altervista.org/index.php

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Sat 10 Apr 2021 5:46 pm
by mimo57
Dennisdg wrote: Sat 10 Apr 2021 5:09 pm I notice your https://www.meteo-orny.fr/1MX/ site looks to be working, but you are using NZAA (Auckland Airport), perhaps that needs changing to somewhere more local?
In my post I put the link to my test site https://www.meteo-orny.fr/1MXnew/ and not the one in production https://www.meteo-orny.fr/1MX

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Sat 10 Apr 2021 8:53 pm
by beteljuice

Code: Select all

//	--- Version MX_2.2.1 - 07-Mar-2021 -- airlink and WH45 added
For whatever reason, for you guys, everything after the new airlink code in the ajax loop is failing.
ie. No current conditions, No forecast, no languages being set.

... back to Brian for deep thought - or have you perhaps said you have the sensors when you do not ?

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Sat 10 Apr 2021 8:57 pm
by BCJKiwi
OK,

I see your site
https://www.meteo-orny.fr/1MX
is now working correctly.

So, Please tell us what you had to change to make it work!
Would be helpful for others facing the same issue (and for me to add a caution to the HowTo files ?)

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Sat 10 Apr 2021 9:02 pm
by beteljuice
No Brian ...

His test site is https://www.meteo-orny.fr/1MXnew/

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Sun 11 Apr 2021 4:28 am
by BCJKiwi
Ver 2.2.1b patch for comma decimal and extra sensors (WH45)
Also available in First Post this thread.

Apologies to those inconvenienced by the incomplete files provided in 2.2.1a

Thanks to betejuice for his help in resolving the issues with the 2.2.1a release.

If you have difficulty with data not displaying as it should, or issues with the nav menu header, you may wish to try the /src/ajaxCUmx.js file instead of the ajaxCUmx.min.js file.
Have found the non-minimised version more reliable on public servers.
It is fine on the local development server I use but not so reliable on the public server.

1. copy ajaxCUmx.js from ./src/to main folder.
2. edit footer.php and change path in
<script src="./ajaxCUmx.min.js"></script>
to
<script src="./ajaxCUmx.js"></script>

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Sun 11 Apr 2021 9:09 am
by meteosini
BCJKiwi wrote: Sun 11 Apr 2021 4:28 am Ver 2.2.1b patch for comma decimal and extra sensors (WH45)
Also available in First Post this thread.

Apologies to those inconvenienced by the incomplete files provided in 2.2.1a

Thanks to betejuice for his help in resolving the issues with the 2.2.1a release.

If you have difficulty with data not displaying as it should, or issues with the nav menu header, you may wish to try the /src/ajaxCUmx.js file instead of the ajaxCUmx.min.js file.
Have found the non-minimised version more reliable on public servers.
It is fine on the local development server I use but not so reliable on the public server.

1. copy ajaxCUmx.js from ./src/to main folder.
2. edit footer.php and change path in
<script src="./ajaxCUmx.min.js"></script>
to
<script src="./ajaxCUmx.js"></script>
fantastic job. now it works perfectly. Many thanks

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Sun 11 Apr 2021 9:17 am
by Fredsc13
Thank you very much :)
It works like a charm.

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Sun 11 Apr 2021 9:21 am
by mimo57
thank you,
very good correction, everything seems to work now. :clap: :clap:

another small problem with the Davis console that I would fix tonight.

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Sun 11 Apr 2021 10:27 am
by BCJKiwi
@ mimo57

There are no translations (yet) for es or fi :(
So these should be remmed out in ajaxCUmx.js

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Sun 11 Apr 2021 1:57 pm
by sutne
In latest version the RainRate is missing from the Rainfall box.

In the file indxblk_rain.php the line

Code: Select all

<td style="text-align:left"><span class="ajax" id="ajaxrratehrNoU"></span>
should be

Code: Select all

<td style="text-align:left"><span class="ajax" id="ajaxrratehrNoU"><?php echo $RT_rrate; ?></span>

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Sun 11 Apr 2021 5:11 pm
by mimo57
BCJKiwi wrote: Sun 11 Apr 2021 10:27 am @ mimo57

There are no translations (yet) for es or fi :(
So these should be remmed out in ajaxCUmx.js
I think I still have a problem, I have disabled all languages except "en" and "fr", but they are still all available.

Code: Select all

lang_Options = [
//						["cs", "Český"],
//						["de", "Deutsch"],
//						["dk", "Dansk"],
//						["es", "Español"],
//						["fi", "Suomalainen"],
						["fr", "Français"],
//						["it", "Italiano"],
//						["nb", "Norsk bokmål"],
//						["nl", "Nederlands"],
//						["nn", "Nynorsk"],
//						["pt", "Português"],
//						["pl", "Polski"],
//						["se", "Svenska"],
//						["xx", "Yzzzzzz"],
						["en", "English"] 	
[/size]

Re: CumulusMX and Cumulus1 UI style Multilingual Websites

Posted: Sun 11 Apr 2021 7:26 pm
by beteljuice
Your (/1MX/) site seems to be running ajax 2-1-3 ?
... and those edits are not in that file.

... also ... why do you have 2000 lines of charts code ?