PHP warning

opendir(/web/htdocs/www.puntoemarket.it/home//volantino/punto/) [<a href='function.opendir'>function.opendir</a>]: failed to open dir: No such file or directory

/web/htdocs/www.puntoemarket.it/home/protected/views/site/pages/pdf.php(26)

14 
15 echo "<table width=\"25%\" border=\"1\" align=\"center\"> "; 
16 
17 echo "<p align=\"center\"><b> Storico Promozioni Cont&egrave  </b></p>";
18 
19 echo "<tr align=\"left\"><td><b>ANNO 2016</b></td><td><b>ANNO 2017</b></td></tr>";
20 
21 $folder =$_SERVER['DOCUMENT_ROOT']."/volantino/punto/";
22 
23 
24 $current_dir = $folder;    
25 
26 $dir = opendir($current_dir);        // Open the sucker
27 
28 $files = array();
29 while ($files[] = readdir($dir));
30 sort($files);
31 closedir($dir);
32  $i=0;
33  $promosucc = "";
34 foreach ($files as $file)
35     {
36       
37        
38                                        

Stack Trace

#0
+
 /web/htdocs/www.puntoemarket.it/home/protected/views/site/pages/pdf.php(26): opendir("/web/htdocs/www.puntoemarket.it/home//volantino/punto/")
21 $folder =$_SERVER['DOCUMENT_ROOT']."/volantino/punto/";
22 
23 
24 $current_dir = $folder;    
25 
26 $dir = opendir($current_dir);        // Open the sucker
27 
28 $files = array();
29 while ($files[] = readdir($dir));
30 sort($files);
31 closedir($dir);
#13
+
 /web/htdocs/www.puntoemarket.it/home/index.php(13): CApplication->run()
08 defined('YII_DEBUG') or define('YII_DEBUG',true);
09 // specify how many levels of call stack should be shown in each log message
10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
11 
12 require_once($yii);
13 Yii::createWebApplication($config)->run();
2024-03-29 05:56:58 Apache Yii Framework/1.1.14