Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Cumulus standard template not displaying anything from 'Trends' link

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

MagnusGallstad
Posts: 25
Joined: Sat 14 Apr 2012 7:24 am
Weather Station: Oregon WMR200
Operating System: Raspberry pi 4
Location: Sweden

Cumulus standard template not displaying anything from 'Trends' link

Post by MagnusGallstad »

Hello

My trends page does not work like it should.
Can anyone halp me tp solve whats wrong.

I can see it says "404" on http://192.168.1.100/cumulusmx/lib/jque ... est.min.js

But its on my webserver.

/Magnus
You do not have the required permissions to view the files attached to this post.
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: Cumulus standard template not displaying anything from 'Trends' link

Post by sfws »

The link
MagnusGallstad wrote: Sat 18 Apr 2020 5:53 pm I can see it says "404" on http://192.168.1.100/cumulusmx/lib/jque ... est.min.js
you provide is not valid away from your computer.

Taking a guess, based on your screen image, you are using a MX release of Cumulus with a trends.htm web page that is designed for Cumulus 1, not the web page that comes in MX package.
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Cumulus standard template not displaying anything from 'Trends' link

Post by water01 »

I think (but it is difficult to read as it is so small at the bottom of your trends page) that the problem is that you have an incorrect path to jquery.min.js as it appears to be pointing at the server on your network instead of

https://ajax.googleapis.com/ajax/libs/j ... ery.min.js
David
Image
MagnusGallstad
Posts: 25
Joined: Sat 14 Apr 2012 7:24 am
Weather Station: Oregon WMR200
Operating System: Raspberry pi 4
Location: Sweden

Re: Cumulus standard template not displaying anything from 'Trends' link

Post by MagnusGallstad »

This code is frpm latest release, bottom of trend page file

<a href="https://cumuluswiki.wxforum.net/a/Software" target="_blank">Cumulus</a> v<#version> (<#build>)
</p>
</div>
<script src="lib/jquery/jquery-latest.min.js"></script>
<script src="https://code.highcharts.com/stock/8.0/h ... "></script>
<script src="https://code.highcharts.com/themes/grid.js"></script>
<script src="js/cumuluscharts.js"></script>
</body>
</html>

Should it be in this way ?

<a href="https://cumuluswiki.wxforum.net/a/Software" target="_blank">Cumulus</a> v<#version> (<#build>)
</p>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/j ... "></script>
<script src="https://code.highcharts.com/stock/8.0/h ... "></script>
<script src="https://code.highcharts.com/themes/grid.js"></script>
<script src="js/cumuluscharts.js"></script>
</body>
</html>
MagnusGallstad
Posts: 25
Joined: Sat 14 Apr 2012 7:24 am
Weather Station: Oregon WMR200
Operating System: Raspberry pi 4
Location: Sweden

Re: Cumulus standard template not displaying anything from 'Trends' link

Post by MagnusGallstad »

Here is a link to the public site


http://www.beavis2000.com/cumulusmx/trends.htm
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: Cumulus standard template not displaying anything from 'Trends' link

Post by sfws »

MagnusGallstad wrote: Sat 18 Apr 2020 6:22 pm Here is a link to the public site
That shows 404 for "graphconfig.json", so that is the file not being uploaded. I think that jQuery is a red herring, not sure what you were showing in your first post, unless you have already changed something.
MagnusGallstad wrote: Sat 18 Apr 2020 6:12 pm This code is frpm latest release, bottom of trend page file

<a href="https://cumuluswiki.wxforum.net/a/Software" target="_blank">Cumulus</a> v<#version> (<#build>)
</p>
</div>
<script src="lib/jquery/jquery-latest.min.js"></script>
<script src="https://code.highcharts.com/stock/8.0/h ... "></script>
<script src="https://code.highcharts.com/themes/grid.js"></script>
<script src="js/cumuluscharts.js"></script>
</body>
</html>

Should it be in this way ?

<a href="https://cumuluswiki.wxforum.net/a/Software" target="_blank">Cumulus</a> v<#version> (<#build>)
</p>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/j ... "></script>
<script src="https://code.highcharts.com/stock/8.0/h ... "></script>
<script src="https://code.highcharts.com/themes/grid.js"></script>
<script src="js/cumuluscharts.js"></script>
</body>
</html>
[No, do not change the standard web page, waters01 has not actually confirmed that the web page works with jQuery 3.4.1. MX uses the even older jQuery version 1.9.1, that is 2014 vintage and very obsolete and that is what you will have installed on your web server from the standard MX package. Anyway the latest version is 3.5.0 (the official https://jquery.com/download/ gives the most up to date version).

By the way, sorry I mentioned Cumulus 1 web page, I now recall that did not use jQuery. My wild guess was wrong.
MagnusGallstad
Posts: 25
Joined: Sat 14 Apr 2012 7:24 am
Weather Station: Oregon WMR200
Operating System: Raspberry pi 4
Location: Sweden

Re: Cumulus standard template not displaying anything from 'Trends' link

Post by MagnusGallstad »

graphconfig.json is on my webserver

screendump from ftp window
You do not have the required permissions to view the files attached to this post.
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Cumulus standard template not displaying anything from 'Trends' link

Post by water01 »

I could be wrong but it is saying /jquery/jquery-latest.min.js doesn't exist in your lib folder, does it? I can see lib in your picture but what does it contain?
David
Image
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: Cumulus standard template not displaying anything from 'Trends' link

Post by sfws »

In my browser it shows this
Trends.PNG
It finds jQuery, but not the json file.
You do not have the required permissions to view the files attached to this post.
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Cumulus standard template not displaying anything from 'Trends' link

Post by water01 »

OK I am confused. Are we trying to solve a problem when you are pointing at an internal server on your network (192.168.1.100) or your web page on your webserver at http://www.beavis2000.com/cumulusmx/trends.htm as the first picture you posted indicated it was pointing at 192.168.1.100?
David
Image
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Cumulus standard template not displaying anything from 'Trends' link

Post by water01 »

David
Image
MagnusGallstad
Posts: 25
Joined: Sat 14 Apr 2012 7:24 am
Weather Station: Oregon WMR200
Operating System: Raspberry pi 4
Location: Sweden

Re: Cumulus standard template not displaying anything from 'Trends' link

Post by MagnusGallstad »

Yes it does :-)

I run an old windows 2012 server, and it was no mime type for .json files

Thanks google :-)
MagnusGallstad
Posts: 25
Joined: Sat 14 Apr 2012 7:24 am
Weather Station: Oregon WMR200
Operating System: Raspberry pi 4
Location: Sweden

Re: Cumulus standard template not displaying anything from 'Trends' link

Post by MagnusGallstad »

Wind dir seems not work, all other does
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Cumulus standard template not displaying anything from 'Trends' link

Post by water01 »

I see wind direction OK, why do you say its not working?
David
Image
MagnusGallstad
Posts: 25
Joined: Sat 14 Apr 2012 7:24 am
Weather Station: Oregon WMR200
Operating System: Raspberry pi 4
Location: Sweden

Re: Cumulus standard template not displaying anything from 'Trends' link

Post by MagnusGallstad »

water01 wrote: Sat 18 Apr 2020 7:56 pm I see wind direction OK, why do you say its not working?

Because it only stand with "loading" :D

I did a refresh, and now can I se all tabs.
Post Reply