PHP Error

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

/home/mekongto/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

#8
+
 /home/mekongto/public_html/protected/models/XTour.php(21): CModule->__get("db")
16                 $cache = Yii::app()->cache->get($key);
17             }
18             $cache=false;
19             if ($cache == false) {
20                 $sql = "SELECT * FROM tbl_tour WHERE cat_id=1 ORDER BY id DESC LIMIT ". $limit; 
21                 $command = Yii::app()->db->createCommand($sql);               
22                 $result = $command->queryAll();
23                 Yii::app()->cache->set($key, $result, ConstantsUtil::TIME_CACHE_900); 
24             }
25             else { 
26                 $result = $cache;                          
#9
+
 /home/mekongto/public_html/protected/controllers/HomeController.php(39): XTour->getDataByCatTour(367, 6)
34             $view_type  = isset($_GET['view_type']) ? $_GET['view_type'] : 1; 
35             $cat_id    =  isset($_GET['cat_id']) ? intval($_GET['cat_id']) : 2;
36 
37             $row_per_page = 20;
38             $limit = 6;
39             $tour_noi_dia = XTour::getDataByCatTour($id,$limit);         
40             $tour_nuoc_ngoai = XTour::getDataByCatQuocTe($id,$limit);  
41             $kham_pha = XTour::getDataByCatKhamPha($id,$limit);  
42             $diem_den = XTour::getDataByCatDiemDen($id,$limit); 
43             $amthuc = XTour::getDataByCatAmThuc($id,$limit);   
44             $tin_tuc = XNews::getDataByCatKhamPha($id,$limit); 
#17
+
 /home/mekongto/public_html/index.php(9): CApplication->run()
04     error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT);
05     $yii=dirname(__FILE__).'/../yii/framework/yii.php';
06     $config=dirname(__FILE__).'/protected/config/main.php';
07     defined('YII_DEBUG') or define('YII_DEBUG',true);    
08     require_once($yii);    
09     Yii::createWebApplication($config)->run();
10 ?>
2018-11-19 10:48:45 Apache Yii Framework/1.1.8