Weather by You!
Templates and Projects support => Modules => Topic started by: MatrixStorms on March 02, 2014, 02:22:41 AM
-
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
-
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
-
hi Jacques this is the code of 196 error
if ($handle = opendir("$NOAAdir")) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != "..") {
$files[] = $file;
}
}
closedir($handle);
-
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