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

NOAA Error

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
Post Reply
Michael_Wright
Posts: 140
Joined: Thu 30 May 2013 9:15 am
Weather Station: fine offset
Operating System: windows 7
Location: Townsville/Queensland/Australia
Contact:

NOAA Error

Post by Michael_Wright »

I am getting an warning Error

Code: Select all

Warning: opendir(./NOAA-reports) [function.opendir]: failed to open dir: No such file or directory in /home/a7346512/public_html/NOAA-reports.php on line 196
I am pretty sure I have setup the NOAA right in cumulus but I have inclosed an image file of the NOAA setup

Mike
You do not have the required permissions to view the files attached to this post.
Image
The Future you have Not seen but the presants shall all ways be.
BCJKiwi
Posts: 1259
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: NOAA Error

Post by BCJKiwi »

This is a separate FTP session from the one in "Internet Settings" / "Sites/Options" so will need the full path that you have in internet settings plus the NOAA subfolder.

It would be really helpful if you included the link to your website so one might answer more intelligently - I have to assume this is a Saratoga website as there is not normally an NOAA folder in the Cumulus html website.
Michael_Wright
Posts: 140
Joined: Thu 30 May 2013 9:15 am
Weather Station: fine offset
Operating System: windows 7
Location: Townsville/Queensland/Australia
Contact:

Re: NOAA Error

Post by Michael_Wright »

no mate only using the cumulus software as I know nothink about php but I see on some of the cumulus site they have NOAA on there page and though I would give it a go
Image
The Future you have Not seen but the presants shall all ways be.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: NOAA Error

Post by steve »

You have ticked "Auto FTP after auto save" (note the "after auto save" part), but you have not ticked "auto save after daily reset".
Steve
Michael_Wright
Posts: 140
Joined: Thu 30 May 2013 9:15 am
Weather Station: fine offset
Operating System: windows 7
Location: Townsville/Queensland/Australia
Contact:

Re: NOAA Error

Post by Michael_Wright »

Code: Select all

if ($handle = opendir("$NOAAdir")) { 
	while (false !== ($file = readdir($handle))) { 
		if ($file != "." && $file != "..") { 
            $files[] = $file; 
        } 
	} 
	closedir($handle); 

	sort($files); // ascending order
	$lastyear = '';
Hi Steve the 196 Error I am getting is in this code here do I need to change anythink here
Image
The Future you have Not seen but the presants shall all ways be.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: NOAA Error

Post by steve »

Sorry, I don't know anything about that PHP code. Have you actually ticked the box now to get the reports created, but you still get the error?
Steve
User avatar
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: NOAA Error

Post by beteljuice »

It's telling you the obvious ! - the directory (NOAA-reports) either does not exist or has no files in it.
Mess with the code and I'll break your fingers :o
Have you looked at your site with either your ftp client or ISP control panel to see what's what's there ?

It's looking as if you have not yet created / uploaded any files.
Image
......................Imagine, what you will KNOW tomorrow !
Post Reply