Something I guess gets lost with the path to files or something.
When I first open the website and display gauges, all is well. The I click on trends, all is well. I go back to gauges and nothing is there. The developer console is giving lots of 404 errors file missing, but it was just working on the last click and the file is there.
http://worsnop.com/wx
Guessing somehow the trends scripts set a new path or something. An ideas?
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
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
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
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
Gauges wont display after trends page is displayed - RESOLVED
Moderator: mcrossley
-
- Posts: 8
- Joined: Thu 15 Dec 2016 4:03 pm
- Weather Station: Davis Pro 2
- Operating System: Linux or Windows
Gauges wont display after trends page is displayed - RESOLVED
Last edited by MWORSNOP on Mon 03 Feb 2020 5:12 pm, edited 1 time in total.
- HansR
- Posts: 6058
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Gauges wont display after trends page is displayed
It all works well from where I look at the site.
Hans
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
-
- Posts: 2518
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Gauges wont display after trends page is displayed
I see the same symptoms as mworsnop. If you access the gauges page from anywhere but the trends page then the gauges page works okay. If you access the gauges page from the trends page then several endpoints in the gauges page have "lib" prepended to their path - so that, for example, wx/steelseries/css/gauges-ss.css becomes wx/lib/steelseries/css/gauges-ss.css. This results in 404 responses.
The list of endpoints this happens to is:
wx/steelseries/css/gauges-ss.css
wx/steelseries/scripts/steelseries_tween.min.js
wx/steelseries/scripts/language.min.js
wx/steelseries/scripts/gauges.js
wx/steelseries/scripts/RGraph.common.core.min.js
wx/steelseries/scripts/RGraph.rose.min.js
As I said, this prepending only happens if you visit the trends page immediately before the gauges page.
I don't know why it happens.
The list of endpoints this happens to is:
wx/steelseries/css/gauges-ss.css
wx/steelseries/scripts/steelseries_tween.min.js
wx/steelseries/scripts/language.min.js
wx/steelseries/scripts/gauges.js
wx/steelseries/scripts/RGraph.common.core.min.js
wx/steelseries/scripts/RGraph.rose.min.js
As I said, this prepending only happens if you visit the trends page immediately before the gauges page.
I don't know why it happens.
- HansR
- Posts: 6058
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Gauges wont display after trends page is displayed
Ah, yes. I used the back button, not through the menu. Now I see the issue as well.
Hans
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
- 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: Gauges wont display after trends page is displayed
Actually gauges are only working from index / now page.
The link is gauges-ss.htm
All the other pages have the link as:
gauges.htm
The link is gauges-ss.htm
All the other pages have the link as:
gauges.htm
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 8
- Joined: Thu 15 Dec 2016 4:03 pm
- Weather Station: Davis Pro 2
- Operating System: Linux or Windows
Re: Gauges wont display after trends page is displayed
I finally figured it out! The footer of the pages where it has the links for each page has to be edited by every single page. In the web folder every file that ends in T.htm has to be edited.
:now: :gauges: :today: :yesterday: :this month: :this year: :records: :trends:
:now: :gauges: :today: :yesterday: :this month: :this year: :records: :trends: