Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.3.0 build 3063 - 10 January 2020.
    Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

    See the Wiki for downloading either version.

    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 » Sun 28 Jul 2019 5:15 pm

    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: 2031
    Joined: Sun 28 Sep 2008 11:54 pm
    Weather Station: Davis Vantage Pro 2+ w/Envoy USB
    Operating System: Windows-8
    Location: Komoka, ON Canada
    Contact:

    Re: Monthlyrecords issue

    Post by PaulMy » Sun 28 Jul 2019 8:40 pm

    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

    User avatar
    beteljuice
    Posts: 2812
    Joined: Tue 09 Dec 2008 1:37 pm
    Weather Station: None !
    Operating System: ex XP SP3 - now W10 laptop grr
    Location: Dudley, West Midlands, UK

    Re: Monthlyrecords issue

    Post by beteljuice » Sun 28 Jul 2019 10:04 pm

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

    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