Welcome to the Cumulus Support forum.

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

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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

Search found 25 matches

by tmabell
Tue 23 Feb 2021 10:41 pm
Forum: Web site - General
Topic: PHP Web 'viewer' for Cumulus NOAA Style reports
Replies: 275
Views: 291733

Re: PHP Web 'viewer' for Cumulus NOAA Style reports

Wowzers! :o That change induced a slew of warnings, the extent of which I cannot report due to the fact that we got caught in a loop of repeating the same warnings over and over. They wouldn't stop. I had to stop the server to keep the error log from growing exponentially. Here is what keeps repeati...
by tmabell
Tue 23 Feb 2021 4:55 pm
Forum: Web site - General
Topic: PHP Web 'viewer' for Cumulus NOAA Style reports
Replies: 275
Views: 291733

Re: PHP Web 'viewer' for Cumulus NOAA Style reports

Okay it is still crashing. I'm attaching the current version with that edit so there is no confusion. Select a Year or Month report Fatal error: Uncaught TypeError: Unsupported operand types: string * int in C:\www\Noaa-Reports-New.php:277 Stack trace: #0 {main} thrown in C:\www\Noaa-Reports-New.php...
by tmabell
Tue 23 Feb 2021 4:22 pm
Forum: Web site - General
Topic: PHP Web 'viewer' for Cumulus NOAA Style reports
Replies: 275
Views: 291733

Re: PHP Web 'viewer' for Cumulus NOAA Style reports

Just so I get this right, I'm to insert this at line 279 and leave all of the existing code in place. In other words I'm not removing anything. Is that correct?

EDIT.... that was a dumb question. Your code was self-explanatory. :groan:
by tmabell
Tue 23 Feb 2021 4:07 pm
Forum: Web site - General
Topic: PHP Web 'viewer' for Cumulus NOAA Style reports
Replies: 275
Views: 291733

Re: PHP Web 'viewer' for Cumulus NOAA Style reports

I inserted that code at line 105. Now I get this error: Warning: Undefined variable $first_year in C:\www\Noaa-Reports-New.php on line 106 Warning: Undefined variable $now_year in C:\www\Noaa-Reports-New.php on line 108 Select a Year or Month report Warning: Undefined variable $full_nav2 in C:\www\N...
by tmabell
Tue 23 Feb 2021 10:16 am
Forum: Web site - General
Topic: PHP Web 'viewer' for Cumulus NOAA Style reports
Replies: 275
Views: 291733

Re: PHP Web 'viewer' for Cumulus NOAA Style reports

FYI to avoid confusion I have the old (working) script live now. This problem child can be accessed here https://mymishawakaweather.com/Noaa-Reports-New.php It is my intention to use it within a page that has headers and footers already so stand-alone is what I need. After your suggestion, this is w...
by tmabell
Mon 22 Feb 2021 11:58 pm
Forum: Web site - General
Topic: PHP Web 'viewer' for Cumulus NOAA Style reports
Replies: 275
Views: 291733

Re: PHP Web 'viewer' for Cumulus NOAA Style reports

I added code at the top to enable error reporting which added 7 lines there. I had been using a very old version of this script until now so I cannot say if it worked or not prior to PHP 8. I'm attaching it and also here is the link: https://mymishawakaweather.com/noaa-reports-new.php Noaa-Reports.p...
by tmabell
Mon 22 Feb 2021 11:01 pm
Forum: Web site - General
Topic: PHP Web 'viewer' for Cumulus NOAA Style reports
Replies: 275
Views: 291733

Re: PHP Web 'viewer' for Cumulus NOAA Style reports

Using php 8.0.2 and NOAA Style reports V3.5 - Jan 1st 2020 I'm seeing this which breaks the script:
Fatal error: Uncaught TypeError: Unsupported operand types: string - string in C:\www\NOAA-reports.php:279 Stack trace: #0 {main} thrown in C:\www\NOAA-reports.php on line 279
by tmabell
Mon 22 Feb 2021 4:08 pm
Forum: Web site - General
Topic: NOAA Reports
Replies: 0
Views: 1215

NOAA Reports

A recent audit of my website found a few problems. The one I cannot figure out began about a year ago (Feb 14, 2020), On that day the Noaa-Reports script ( http://saratoga-weather.org/scripts-NOAAtxt.php#NOAAtxtPHP ) stopped updating on a daily basis. I found that it would display the first day of e...
by tmabell
Fri 01 Jun 2018 5:33 pm
Forum: Cumulus 1 (No longer being developed)
Topic: Weather Console date format
Replies: 10
Views: 4259

Re: Weather Console date format

Mark, This version works! I will need to wait until after midnight here to determine if it works for hours that fall in the AM but so far so good. Here is a sample output from my customization: Last contact with station: 06/01/2018 at 1:32:30 pm. Next update in 18 seconds. Thank you for your help. Tom
by tmabell
Fri 01 Jun 2018 5:06 pm
Forum: Cumulus 1 (No longer being developed)
Topic: Weather Console date format
Replies: 10
Views: 4259

Re: Weather Console date format

Mark,

Many thanks. Your code works right out of the box when inserted into wconsole.js.

However, there is no AM/PM appended to the time. Is this by design?

Tom

Note: Edited to remove an incorrect observation on my part.
by tmabell
Fri 01 Jun 2018 12:10 pm
Forum: Cumulus 1 (No longer being developed)
Topic: Weather Console date format
Replies: 10
Views: 4259

UPDATE Re: Weather Console date format

I found a way to do this however, I can't find a way to remove the preceding zero when the hour is a single digit, i.e. 7:00 AM displays as 07:00 AM. I replaced this: var d = new Date(); With this: var d = (h24 = new Date().getHours()) && (h24 - ((h24 == 0)? -12 : (h24 <= 12)? 0 : 12)) + (h2...
by tmabell
Thu 31 May 2018 3:58 pm
Forum: Cumulus 1 (No longer being developed)
Topic: Weather Console date format
Replies: 10
Views: 4259

Re: Weather Console date format

Can the time format be changed from 24-hour to 12-hour in a similar manner?
by tmabell
Thu 31 May 2018 11:28 am
Forum: Cumulus 1 (No longer being developed)
Topic: Weather Console date format
Replies: 10
Views: 4259

Re: Weather Console date format

I tested your code and it works perfectly! Thanks a million :D
by tmabell
Thu 31 May 2018 12:00 am
Forum: Cumulus 1 (No longer being developed)
Topic: Weather Console date format
Replies: 10
Views: 4259

Re: Weather Console date format

Yes, sorry. Typo. So the wconsole.js is where I need to go?
by tmabell
Wed 30 May 2018 9:15 pm
Forum: Cumulus 1 (No longer being developed)
Topic: Weather Console date format
Replies: 10
Views: 4259

Weather Console date format

I'm using the Weather Console obtained from here: http://wiki.sandaysoft.com/index.php?title=WeatherConsole There is a function that displays the time of the last connection to the station as well as the time until the next poll. This is an example of what it looks like: Last contact with station: 3...