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/Page.php(58): CActiveRecord::model("Page")
53      * Returns the static model of the specified AR class.
54      * @return Page the static model class
55      */
56     public static function model($className=__CLASS__)
57     {
58         return parent::model($className);
59     }
60 
61     /**
62      * @return string the associated database table name
63      */
#12
+
 /home/luxemallorca/public_html/rent/public_html/protected/components/PagesRoute.php(25): Page::model()
20     }
21     
22     public function parseUrl($manager,$request,$pathInfo,$rawPathInfo)
23     {
24         $tryLanguages = array('en','es','de','ru');
25         $pages = Page::model()->findAll(array('select'=>'id,title_en,title_es,title_de,title_ru'));
26         foreach ($pages as $page) {
27             foreach($tryLanguages as $language){
28                 $page_title = $pathInfo;
29                 $title='title_'.$language;
30                 
#14
+
 /home/luxemallorca/public_html/rent/public_html/protected/components/UrlManager.php(12): CUrlManager->parseUrl(CHttpRequest)
07         if(strcasecmp('admin/', substr($route, 0, 6)) !== 0 && !isset($params['language'])) $params['language'] = Yii::app()->language;
08         return parent::createUrl($route, $params, $ampersand);    
09     }
10     public function parseUrl($request)
11     {
12         $ret = parent::parseUrl($request);
13         if(isset($_GET['language'])) Yii::app()->language = $_GET['language'];
14         return $ret; 
15     }
16 }
2024-03-29 06:13:14 LiteSpeed Yii Framework/1.1.8