PHP Error

include(Additional_Articles.php): failed to open stream: No such file or directory

/var/www/EXTERNAL/NOWE_PODLOGILODZ/yii/framework/YiiBase.php(421)

409                 {
410                     foreach(self::$_includePaths as $path)
411                     {
412                         $classFile=$path.DIRECTORY_SEPARATOR.$className.'.php';
413                         if(is_file($classFile))
414                         {
415                             include($classFile);
416                             break;
417                         }
418                     }
419                 }
420                 else
421                     include($className.'.php');
422             }
423             else  // class name with namespace in PHP 5.3
424             {
425                 $namespace=str_replace('\\','.',ltrim($className,'\\'));
426                 if(($path=self::getPathOfAlias($namespace))!==false)
427                     include($path.'.php');
428                 else
429                     return false;
430             }
431             return class_exists($className,false) || interface_exists($className,false);
432         }
433         return true;

Stack Trace

#2
+
 /var/www/EXTERNAL/NOWE_PODLOGILODZ/protected/modules/Shop/models/Article_Product/Articles_Products.php(167): spl_autoload_call("Additional_Articles")
162             
163             //$returned_Data[0]['photo'] =  Yii::app()->baseUrl . "/img/main/panties/" . strtolower($returned_Data[0]['type_2']) . ".png";
164 
165         } else {
166 
167             $Additional_Article = new Additional_Articles();
168             $ret_array = $Additional_Article->Load_Article($returned_Data[0]['art_id']);
169             
170             $returned_Data[0]['color_accordion_menu'] = "style='background-color:grey';";
171             $returned_Data[0] = array_merge($returned_Data[0],$ret_array[0]);
172             $returned_Data[0]['photo'] =  Yii::app()->baseUrl . "/img/main/panties/" . strtolower($returned_Data[0]['type_2']) . ".png";
#3
+
 /var/www/EXTERNAL/NOWE_PODLOGILODZ/protected/modules/Shop/controllers/ProductController.php(87): Articles_Products->Load_Article("wszystkie-podlogi-lite-ark-z-kolekcji-basic-18-taniej")
82                     if ($is_gallery){
83                         $this->render('index',array('Texts'=>$Texts->List_Texts(),'favourite'=>array($favourite_flag,$favourites_data),'Boxes'=>$boxes_data,'Article'=>$Article->Load_Article($article_alias),'Article_Menu'=>$Article->Load_Article_Menu($article_alias),'Article_Gallery'=>$Article->Load_Article_Gallery($article_alias),'Article_Files'=>$Article->Load_Article_Files($article_alias)));
84                     }
85                     else
86                     {
87                         $this->render('index',array('Texts'=>$Texts->List_Texts(),'favourite'=>array($favourite_flag,$favourites_data),'Boxes'=>$boxes_data,'Article'=>$Article->Load_Article($article_alias),'Article_Menu'=>$Article->Load_Article_Menu($article_alias),'Article_Gallery'=>NULL,'Article_Files'=>$Article->Load_Article_Files($article_alias)));
88                        
89                     }
90                 }
91             }
92             else{$this->redirect(Yii::app()->baseUrl."/");}
#11
+
 /var/www/EXTERNAL/NOWE_PODLOGILODZ/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',1);
11 
12 require_once($yii);
13 Yii::createWebApplication($config)->run();
2024-03-28 12:53:17 Apache/2.4.18 (Ubuntu) Yii Framework/1.1.8