Author Topic: NOAA-reports Error  (Read 3198 times)

Offline MatrixStorms

  • Jr. Member
  • **
  • Posts: 24
    • Stormsearchers
NOAA-reports Error
« 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

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: NOAA-reports Error
« Reply #1 on: March 02, 2014, 06:50:39 AM »
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
Please, consider supporting this site 

Offline MatrixStorms

  • Jr. Member
  • **
  • Posts: 24
    • Stormsearchers
Re: NOAA-reports Error
« Reply #2 on: March 02, 2014, 03:33:11 PM »
hi Jacques this is the code of 196 error
Code: [Select]
if ($handle = opendir("$NOAAdir")) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != "..") {
            $files[] = $file;
        }
}
closedir($handle);
« Last Edit: March 02, 2014, 03:49:28 PM by MatrixStorms »

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: NOAA-reports Error
« Reply #3 on: March 03, 2014, 11:15:19 AM »
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
Please, consider supporting this site