Warning: session_start(): open(/tmp/u1108550/sess_80d3d4e6c1a542ad13b181f9c78231e5, O_RDWR) failed: No such file or directory (2) in /var/www/u1108550/data/www/z79shop.ru/index.php on line 3

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /var/www/u1108550/data/www/z79shop.ru/index.php:3) in /var/www/u1108550/data/www/z79shop.ru/index.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /var/www/u1108550/data/www/z79shop.ru/index.php:3) in /var/www/u1108550/data/www/z79shop.ru/index.php on line 4
CDbException

CDbException

CDbConnection failed to open the DB connection: SQLSTATE[HY000] [2002] No such file or directory

/var/www/u1108550/data/www/z79shop.ru/framework/db/CDbConnection.php(381)

369                 throw new CDbException('CDbConnection.connectionString cannot be empty.');
370             try
371             {
372                 Yii::trace('Opening DB connection','system.db.CDbConnection');
373                 $this->_pdo=$this->createPdoInstance();
374                 $this->initConnection($this->_pdo);
375                 $this->_active=true;
376             }
377             catch(PDOException $e)
378             {
379                 if(YII_DEBUG)
380                 {
381                     throw new CDbException('CDbConnection failed to open the DB connection: '.
382                         $e->getMessage(),(int)$e->getCode(),$e->errorInfo);
383                 }
384                 else
385                 {
386                     Yii::log($e->getMessage(),CLogger::LEVEL_ERROR,'exception.CDbException');
387                     throw new CDbException('CDbConnection failed to open the DB connection.',(int)$e->getCode(),$e->errorInfo);
388                 }
389             }
390         }
391     }
392 
393     /**

Stack Trace

#7
+
 /var/www/u1108550/data/www/z79shop.ru/protected/modules/admin/models/SiteSettings.php(20): CActiveRecord::model("SiteSettings")
15      * @param string $className active record class name.
16      * @return SiteSettings the static model class
17      */
18     public static function model($className=__CLASS__)
19     {
20         return parent::model($className);
21     }
22 
23     /**
24      * @return string the associated database table name
25      */
#8
+
 /var/www/u1108550/data/www/z79shop.ru/protected/components/Controller.php(655): SiteSettings::model()
650         echo $return;
651     }
652     
653     public function makeSiteSettings()
654     {
655          $ss = SiteSettings::model()->findAll();
656          
657          if ($ss != '')
658          {
659              foreach ($ss as $k=>$v)
660              {
#9
+
 /var/www/u1108550/data/www/z79shop.ru/protected/components/Controller.php(111): Controller->makeSiteSettings()
106         if(isset($_GET['tv_price_from']) && $_GET['tv_price_from'] != '') $this->paramsSearch['tv_price_from'] = $_GET['tv_price_from'];
107         if(isset($_GET['tv_price_to']) && $_GET['tv_price_to'] != '') $this->paramsSearch['tv_price_to'] = $_GET['tv_price_to'];
108         
109         $this->makeUserData();
110 
111         $this->makeSiteSettings();
112         
113         $this->makeAllSections();
114         
115         $this->makeCatTree();
116         
2022-05-18 16:37:13 Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 Phusion_Passenger/5.3.7 Yii Framework/1.1.13