CDbException

CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'astamweb_user'@'localhost' (using password: YES)

/home/n/nikifi4v/astamweb.ru/public_html/framework/yiilite.php(8427)

8415             if(empty($this->connectionString))
8416                 throw new CDbException('CDbConnection.connectionString cannot be empty.');
8417             try
8418             {
8419                 $this->_pdo=$this->createPdoInstance();
8420                 $this->initConnection($this->_pdo);
8421                 $this->_active=true;
8422             }
8423             catch(PDOException $e)
8424             {
8425                 if(YII_DEBUG)
8426                 {
8427                     throw new CDbException('CDbConnection failed to open the DB connection: '.
8428                         $e->getMessage(),(int)$e->getCode(),$e->errorInfo);
8429                 }
8430                 else
8431                 {
8432                     Yii::log($e->getMessage(),CLogger::LEVEL_ERROR,'exception.CDbException');
8433                     throw new CDbException('CDbConnection failed to open the DB connection.',(int)$e->getCode(),$e->errorInfo);
8434                 }
8435             }
8436         }
8437     }
8438     protected function close()
8439     {

Stack Trace

#7
+
 /home/n/nikifi4v/astamweb.ru/public_html/protected/controllers/frontend/ServicesController.php(35): CActiveRecord->findAll(array("order" => "main DESC, main_pos ASC, position ASC, id DESC", "limit" => 6))
30         $this->pageDescription = 'Веб-студия АстамВеб: создание сайтов, разработка интернет-магазинов, лендинг пейдж, разработка мобильных приложений. Оптимизация и продвижение сайтов в Яндексе, Google. Настройка Яндекс.Директ, Google.Adwords. Современные технологии и платформы, высокое качество работ, профессиональная команда веб-разработчиков, seoшников, дизайнеров, копирайтеров. Сайты под ключ. Контент-поддержка, техническая поддержка веб-проектов.';
31         $this->pageKeywords = 'разработка ios, android разработка, разработка приложений для android, разработка мобильных приложений, landing page, создание лендинга, создание интернет магазина, веб студия, продвижение сайтов, создание сайтов';
32         Yii::app()->theme = 'bootstrap';
33         
34         $mProjects = Projects::model()->findAll(array(
35             'order' => 'main DESC, main_pos ASC, position ASC, id DESC',
36             'limit' => 6,
37         ));
38         
39         $mOther = OtherClient::model()->findAll(array(
40             'order' => 'position ASC',
#16
+
 /home/n/nikifi4v/astamweb.ru/public_html/protected/behaviors/WebApplicationEndBehavior.php(23): CApplication->run()
18 
19         // обрабатываем событие создания модуля
20         $this->onModuleCreate = array($this, 'changeModulePaths');
21         $this->onModuleCreate(new CEvent ($this->owner));
22 
23         $this->owner->run();
24     }
25 
26     // обработчик события onModuleCreate
27     public function onModuleCreate($event)
28     {
#19
+
 /home/n/nikifi4v/astamweb.ru/public_html/index.php(43): CComponent->__call("runEnd", array("frontend"))
38     define('YII_DEBUG', true);
39     require_once($webRoot.'/framework/yiilite.php');
40     $config=$webRoot.'/protected/config/production.php';
41 }
42 
43 Yii::createWebApplication($config)->runEnd('frontend');
44 
2024-03-29 11:44:33 Apache/2.4.55 (Unix) Yii Framework/1.1.15