Error

Class "PDO" not found

/home/bitrix/ext_www/iossro37.ru/reestr/framework/db/CDbConnection.php(422)

410      */
411     protected function createPdoInstance()
412     {
413         $pdoClass=$this->pdoClass;
414         if(($pos=strpos($this->connectionString,':'))!==false)
415         {
416             $driver=strtolower(substr($this->connectionString,0,$pos));
417             if($driver==='mssql' || $driver==='dblib')
418                 $pdoClass='CMssqlPdoAdapter';
419             elseif($driver==='sqlsrv')
420                 $pdoClass='CMssqlSqlsrvPdoAdapter';
421         }
422         return new $pdoClass($this->connectionString,$this->username,
423                                     $this->password,$this->_attributes);
424     }
425 
426     /**
427      * Initializes the open db connection.
428      * This method is invoked right after the db connection is established.
429      * The default implementation is to set the charset for MySQL and PostgreSQL database connections.
430      * @param PDO $pdo the PDO instance
431      */
432     protected function initConnection($pdo)
433     {
434         $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);

Stack Trace

#10
+
 /home/bitrix/ext_www/iossro37.ru/reestr/protected/controllers/SiteController.php(30): CActiveRecord->__construct()
25      * This is the default 'index' action that is invoked
26      * when an action is not explicitly requested by users.
27      */
28     public function actionIndex()
29     {
30         $model=new Members('search');
31         $model->unsetAttributes();  // clear any default values
32         if(isset($_GET['Members']))
33             $model->attributes=$_GET['Members'];
34         if(isset($_POST['Members']))
35             $model->attributes=$_POST['Members'];
#18
+
 /home/bitrix/ext_www/iossro37.ru/reestr/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();
14 ?>
2024-03-19 11:08:37 Apache Yii Framework/1.1.13