Templates and Projects support > Modules

NOAA-reports Error

(1/1)

MatrixStorms:
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

also I have included an image of how I have my setup for NOAA Report

Mike

Mr.Meteo:
Hi Mike,

Sorry, your configuration seems to be good, but I don't
know your page, but at evidence it doesn't find your
NOAA files, so check this line #196

Regards,
Jacques

MatrixStorms:
hi Jacques this is the code of 196 error
--- Code: ---if ($handle = opendir("$NOAAdir")) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != "..") {
            $files[] = $file;
        }
}
closedir($handle);
--- End code ---

Mr.Meteo:
Hi Mike,

It seems like your page cannot find the directory
pointed by that script.

In these lines we can see that $NOAAdir contain
the folder name needed to run your page. So check if that
$NOAAdir is referenced elsewhere in your page... it is
supposed to point to a folder.

Regards,
Jacques

Navigation

[0] Message Index

Go to full version