Author Topic: CumulusMX Graphs  (Read 552 times)

0 Members and 1 Guest are viewing this topic.

Offline mkutche

  • Forecaster
  • *****
  • Posts: 929
    • GosportWx.com
CumulusMX Graphs
« on: December 19, 2020, 03:36:53 PM »
For some reason since switching to Cumulus MX latest build i lost my graphs.. http://gosportwx.com/wxgraphs.php they use to show up with 1.9.4 any idea how to fix this?
Mike K.
WS2080 - Cumulus MX b3043
Gosport, Indiana
Gosportwx.com Gosportwx.com/PWS/ Gosportwx.com/j-template/ twitter.com/GosportINWX facebook.com/GosportINWX
-----------------------------------------------------------

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 8185
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: CumulusMX Graphs
« Reply #1 on: December 19, 2020, 04:38:49 PM »
You seem to be missing http://gosportwx.com/cumx/jquery/jquery-latest.min.js and http://gosportwx.com/cumx/cumulusmxcharts.js on your site.  That can cause the highcharts to not load data correctly.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline mkutche

  • Forecaster
  • *****
  • Posts: 929
    • GosportWx.com
Re: CumulusMX Graphs
« Reply #2 on: December 19, 2020, 08:20:25 PM »
You seem to be missing http://gosportwx.com/cumx/jquery/jquery-latest.min.js and http://gosportwx.com/cumx/cumulusmxcharts.js on your site.  That can cause the highcharts to not load data correctly.

uploaded those to /cumulus/ folder but still not working
Mike K.
WS2080 - Cumulus MX b3043
Gosport, Indiana
Gosportwx.com Gosportwx.com/PWS/ Gosportwx.com/j-template/ twitter.com/GosportINWX facebook.com/GosportINWX
-----------------------------------------------------------

Offline PaulMy

  • Forecaster
  • *****
  • Posts: 4841
    • KomokaWeather
Re: CumulusMX Graphs
« Reply #3 on: December 19, 2020, 08:37:17 PM »
I still use Cumulus1 for my Saratgoa site.  CumulusMX uses different graphs and not sure how you would use them on Saratoga template but Brian has it figured out Silver Acorn Weather - Auckland, New Zealand - Graphs


Enjoy,
Paul

Offline mkutche

  • Forecaster
  • *****
  • Posts: 929
    • GosportWx.com
Re: CumulusMX Graphs
« Reply #4 on: December 19, 2020, 08:45:43 PM »
I still use Cumulus1 for my Saratgoa site.  CumulusMX uses different graphs and not sure how you would use them on Saratoga template but Brian has it figured out Silver Acorn Weather - Auckland, New Zealand - Graphs


Enjoy,
Paul

is he a member here?
Mike K.
WS2080 - Cumulus MX b3043
Gosport, Indiana
Gosportwx.com Gosportwx.com/PWS/ Gosportwx.com/j-template/ twitter.com/GosportINWX facebook.com/GosportINWX
-----------------------------------------------------------

Offline PaulMy

  • Forecaster
  • *****
  • Posts: 4841
    • KomokaWeather
Re: CumulusMX Graphs
« Reply #5 on: December 19, 2020, 08:54:57 PM »
Yes


Enjoy,
Paul

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 8185
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: CumulusMX Graphs
« Reply #6 on: December 19, 2020, 10:21:05 PM »
You seem to be missing http://gosportwx.com/cumx/jquery/jquery-latest.min.js and http://gosportwx.com/cumx/cumulusmxcharts.js on your site.  That can cause the highcharts to not load data correctly.

uploaded those to /cumulus/ folder but still not working

Umm... http://gosportwx.com/cumx/jquery/jquery-latest.min.js and http://gosportwx.com/cumx/cumulusmxcharts.js both return 404-Not Found still.  Note that the two files have to be in ./cumx/ subdirectory with the jQuery one in ./cumx/jquery/ subdirectory.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 8185
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: CumulusMX Graphs
« Reply #7 on: December 19, 2020, 10:22:27 PM »
I still use Cumulus1 for my Saratgoa site.  CumulusMX uses different graphs and not sure how you would use them on Saratoga template but Brian has it figured out Silver Acorn Weather - Auckland, New Zealand - Graphs


Enjoy,
Paul

The current Cumulus plugin detects MX and uses the Highchart graphs automatically.  If V1.9.4 is used, the static graph images are used.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline mkutche

  • Forecaster
  • *****
  • Posts: 929
    • GosportWx.com
Re: CumulusMX Graphs
« Reply #8 on: December 19, 2020, 11:31:19 PM »
You seem to be missing http://gosportwx.com/cumx/jquery/jquery-latest.min.js and http://gosportwx.com/cumx/cumulusmxcharts.js on your site.  That can cause the highcharts to not load data correctly.

uploaded those to /cumulus/ folder but still not working

Umm... http://gosportwx.com/cumx/jquery/jquery-latest.min.js and http://gosportwx.com/cumx/cumulusmxcharts.js both return 404-Not Found still.  Note that the two files have to be in ./cumx/ subdirectory with the jQuery one in ./cumx/jquery/ subdirectory.

ok they are in cumx now, but still doesn't want to work
Mike K.
WS2080 - Cumulus MX b3043
Gosport, Indiana
Gosportwx.com Gosportwx.com/PWS/ Gosportwx.com/j-template/ twitter.com/GosportINWX facebook.com/GosportINWX
-----------------------------------------------------------

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 8185
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: CumulusMX Graphs
« Reply #9 on: December 20, 2020, 12:17:50 AM »
Now it is loading those scripts, but missing http://gosportwx.com/graphconfig.json (gets a 404-Not Found).

I suggest you view http://gosportwx.com/wxgraphs.php while the developer tools are active in your browser (it's CTRL-SHIFT-K in FireFox) and examine the XHR (JSON requests) and Requests to see which other parts may be missing on your site.  It's what I did to cite the first two JavaScripts that were missing.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline mkutche

  • Forecaster
  • *****
  • Posts: 929
    • GosportWx.com
Re: CumulusMX Graphs
« Reply #10 on: December 20, 2020, 02:10:55 AM »
Now it is loading those scripts, but missing http://gosportwx.com/graphconfig.json (gets a 404-Not Found).

I suggest you view http://gosportwx.com/wxgraphs.php while the developer tools are active in your browser (it's CTRL-SHIFT-K in FireFox) and examine the XHR (JSON requests) and Requests to see which other parts may be missing on your site.  It's what I did to cite the first two JavaScripts that were missing.

ok so how do i auto upload those and still have cumulus upload to /cumx? because if i just upload outside cumx the wxgraph works, but the .htm files upload outside of cumx.
Mike K.
WS2080 - Cumulus MX b3043
Gosport, Indiana
Gosportwx.com Gosportwx.com/PWS/ Gosportwx.com/j-template/ twitter.com/GosportINWX facebook.com/GosportINWX
-----------------------------------------------------------

Offline the beteljuice

  • the beteljuice
  • Senior Contributor
  • ****
  • Posts: 278
    • test site
Re: CumulusMX Graphs
« Reply #11 on: December 20, 2020, 06:43:05 AM »
The trends graphs are updated End Of Day.
The very latest release of cumx will upload at at start up as well.
Quote
     New: If enabled, the daily graph data files are now created at start-up and uploaded at first interval FTP. Previously you had to wait for the first EOD rollover.

Settings | Internet Settings | Web/FTP Settings | Include graph data files

If they ARE enabled, your page should be fine by the time you read this  ;)
Imagine what you will KNOW tomorrow !

Offline mkutche

  • Forecaster
  • *****
  • Posts: 929
    • GosportWx.com
Re: CumulusMX Graphs
« Reply #12 on: December 20, 2020, 07:20:37 AM »
The trends graphs are updated End Of Day.
The very latest release of cumx will upload at at start up as well.
Quote
     New: If enabled, the daily graph data files are now created at start-up and uploaded at first interval FTP. Previously you had to wait for the first EOD rollover.

Settings | Internet Settings | Web/FTP Settings | Include graph data files

If they ARE enabled, your page should be fine by the time you read this  ;)

I have the include graph data files enabled. it checked the cumx directory and when the 5 minute update occurs they update in the cumx folder rather than outside the directory.
Mike K.
WS2080 - Cumulus MX b3043
Gosport, Indiana
Gosportwx.com Gosportwx.com/PWS/ Gosportwx.com/j-template/ twitter.com/GosportINWX facebook.com/GosportINWX
-----------------------------------------------------------

Offline the beteljuice

  • the beteljuice
  • Senior Contributor
  • ****
  • Posts: 278
    • test site
Re: CumulusMX Graphs
« Reply #13 on: December 20, 2020, 10:43:13 AM »
Your data files seem to be in the right place and upto date, so I don't know how you are getting static, older data being shown  :roll:

... better post on the Cumulus forum !
Imagine what you will KNOW tomorrow !

Offline mkutche

  • Forecaster
  • *****
  • Posts: 929
    • GosportWx.com
Re: CumulusMX Graphs
« Reply #14 on: December 20, 2020, 11:02:31 AM »
Your data files seem to be in the right place and upto date, so I don't know how you are getting static, older data being shown  :roll:

... better post on the Cumulus forum !

just did a temp fix uploaded the .json files from /web/ folder on cumulus to main folder. so they'll be uploaded in both places incase something changes. lol
Mike K.
WS2080 - Cumulus MX b3043
Gosport, Indiana
Gosportwx.com Gosportwx.com/PWS/ Gosportwx.com/j-template/ twitter.com/GosportINWX facebook.com/GosportINWX
-----------------------------------------------------------

Offline the beteljuice

  • the beteljuice
  • Senior Contributor
  • ****
  • Posts: 278
    • test site
Re: CumulusMX Graphs
« Reply #15 on: December 20, 2020, 12:10:46 PM »
That seems to be working ...

... but why ?
Imagine what you will KNOW tomorrow !

Offline mkutche

  • Forecaster
  • *****
  • Posts: 929
    • GosportWx.com
Re: CumulusMX Graphs
« Reply #16 on: December 20, 2020, 12:16:58 PM »
That seems to be working ...

... but why ?

Don't have a clue, lol
Mike K.
WS2080 - Cumulus MX b3043
Gosport, Indiana
Gosportwx.com Gosportwx.com/PWS/ Gosportwx.com/j-template/ twitter.com/GosportINWX facebook.com/GosportINWX
-----------------------------------------------------------