Jump to content

[SOLVED] Warning: opendir


Monkuar

Recommended Posts

Warning: opendir(/home/gxforums/public_html/24-7GT.com/forums/sources/shop/) [function.opendir]: failed to open dir: No such file or directory in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/core_admin.php on line 1254

Warning: readdir(): supplied argument is not a valid Directory resource in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/core_admin.php on line 1256

Warning: closedir(): supplied argument is not a valid Directory resource in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/core_admin.php on line 1262

 

here is the code line..

 

 while ($filename = readdir($dir))
        {
            if (!preg_match("#^shopitem_(.*)\.php$#",$filename,$match)) {continue;};
            $modules[$match[1]]["filealert"] = " ";
            $modules[$match[1]]["usedcount"] = 0;
        }
        closedir($dir);

im lost??!

 

Link to comment
https://forums.phpfreaks.com/topic/163964-solved-warning-opendir/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.