Page 1 of 1

Monthlyrecords issue

Posted: Sun 28 Jul 2019 5:15 pm
by Lonelystar
Hi everybody,

I have an issue with the table of montly records on my website (

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


Patrick Trochet

Re: Monthlyrecords issue

Posted: Sun 28 Jul 2019 8:40 pm
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">
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 + ""+gs_r+"' type='text/javascript'%3E%3C/script%3E"));
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.


Re: Monthlyrecords issue

Posted: Sun 28 Jul 2019 10:04 pm
by beteljuice
You say you've been moving files around ...

See if this helps

Re: Monthlyrecords issue

Posted: Sun 28 Jul 2019 11:50 pm
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) :


<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" />
<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.


Patrick Trochet