PHP Error

include(PDO.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory

/home/luxemallorca/public_html/rent/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

#11
+
 /home/luxemallorca/public_html/rent/public_html/protected/models/Estate.php(100): CActiveRecord::model("Estate")
095      * Returns the static model of the specified AR class.
096      * @return Estate the static model class
097      */
098     public static function model($className=__CLASS__)
099     {
100         return parent::model($className);
101     }
102 
103     /**
104      * @return string the associated database table name
105      */
#12
+
 /home/luxemallorca/public_html/rent/public_html/protected/controllers/EstateController.php(30): Estate::model()
25     /**
26      * Displays a particular model.
27      */
28     public function actionView($id)
29     {
30         $model = Estate::model()->findbyPk($id);
31         
32         $model->views = $model->views+1;
33         $model->save();
34         
35         $this->render('view',array(
#22
+
 /home/luxemallorca/public_html/rent/public_html/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:00:25 LiteSpeed Yii Framework/1.1.8