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 4018) - 28 March 2024

Legacy Cumulus 1 release v1.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

Monthlyrecords issue

Discussion specific to Oregon Scientific weather stations
Post Reply
Lonelystar
Posts: 4
Joined: Sun 17 Jul 2016 2:05 pm
Weather Station: WMR200
Operating System: Win7
Location: Bourdonné - France

Monthlyrecords issue

Post by Lonelystar »

Hi everybody,

I have an issue with the table of montly records on my website (https://bourdonne-meteo.pagesperso-orange.fr/index.htm).

I get just the records for july and all the data atre extracted from july 2019. The other monthes are empty. I suppose it can be the result of my actions (bad approach) on the cumulus files when I try (finally with success) to solve a webfiles transfer.

I kept all data since 2016, date of my website opening.

Have an advise to restore these datas.

Thank a lot for the time you spend for the answer

Regards

Patrick Trochet
User avatar
PaulMy
Posts: 3777
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Monthlyrecords issue

Post by PaulMy »

In looking at your pages source code the other months are processed and shown as ----
Trying to do a compare between your monthlyrecord.htm source view and mine and see that you have added

Code: Select all

<script type="text/javascript">
//<![CDATA[
var gs_d=new Date,DoW=gs_d.getDay();gs_d.setDate(gs_d.getDate()-(DoW+6)%7+3);
var ms=gs_d.valueOf();gs_d.setMonth(0);gs_d.setDate(4);
var gs_r=(Math.round((ms-gs_d.valueOf())/6048E5)+1)*gs_d.getFullYear();
var gs_p = (("https:" == document.location.protocol) ? "https://" : "http://");
document.write(unescape("%3Cscript src='" + gs_p + "s.gstat.orange.fr/lib/gs.js?"+gs_r+"' type='text/javascript'%3E%3C/script%3E"));
//]]>
</script>
I don't have an clue what that script code is to do but wonder if it changes the date somehow so that selecting any other than current month causes the blank.

Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Monthlyrecords issue

Post by beteljuice »

You say you've been moving files around ...

See if this helps https://cumuluswiki.wxforum.net/a/Monthlyalltime.ini
Image
......................Imagine, what you will KNOW tomorrow !
Lonelystar
Posts: 4
Joined: Sun 17 Jul 2016 2:05 pm
Weather Station: WMR200
Operating System: Win7
Location: Bourdonné - France

Re: Monthlyrecords issue

Post by Lonelystar »

Thanks PaulMy and beteljuice,

The monthlyrecord souce code dont appear as you write PaulMy but like that (just for the beginning because there is a lot of lines) :

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<meta name="description" content="Bourdonné weather data" />
<meta name="keywords" content="Cumulus, Bourdonné weather data, weather, data, weather station" />
<title>Bourdonné weather</title>
<link href="weatherstyle.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="content">
<h1>Bourdonné weather</h1>
<h2 style="text-align: left; text-transform: none;">&nbsp;Latitude&nbsp;N&nbsp;48&deg;&nbsp;45&#39;&nbsp;20&quot;&nbsp;&nbsp;&nbsp;&nbsp;Longitude&nbsp;E&nbsp;01&deg;&nbsp;40&#39;&nbsp;01&quot;&nbsp;&nbsp;&nbsp;&nbsp;Elevation&nbsp;107&nbsp;m</h2>

<p>Records began on 25 juin 2016. Here are the month-by-month extremes recorded since then.</p>
<input type="button" value="Jan" onclick="changeData(0)"/>
<input type="button" value="Feb" onclick="changeData(1)"/>
<input type="button" value="Mar" onclick="changeData(2)"/>

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$


Finally, I solved my issue using the help shown by beteljuice, directly by upgrading the data through the Cumulus EDIT menu

Thanks again to you for your advices and your very fast answer.

Regards

Patrick Trochet
Post Reply