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/models/Menu.php(224): CActiveRecord->findAll(array("condition" => "parent_menu_id = :parentId AND active = :active", "params" => array("parentId" => 0, "active" => 1), "order" => "t.position"))
219             'condition' => "parent_menu_id = :parentId AND active = :active",
220             'params' => array(
221                 'parentId' => $parentId,
222                 'active' => 1,
223             ),
224             'order' => 't.position',
225         ));
226 
227         if (!count($pages))
228             return array();
229 
#8
+
 /home/n/nikifi4v/astamweb.ru/public_html/themes/astamweb/views/layouts/main.php(42): Menu::getMenuItems(0)
37                 <?php $this->widget('OrderWidget'); ?>
38 
39                 <div class="infoheder">
40                     <menu class="menuheader">
41                         <?php $this->widget('zii.widgets.CMenu',array(
42                             'items'=>Menu::getMenuItems(0),
43                         )); ?>
44                     </menu>
45 
46                     <div class="swyazverh">
47                         <div class="telwerh" style="margin-top:8px;">
#16
+
 /home/n/nikifi4v/astamweb.ru/public_html/themes/astamweb/views/layouts/column1.php(4): CBaseController->endContent()
1 <?php /* @var $this Controller */ ?>
2 <?php $this->beginContent('//layouts/main'); ?>
3 <?php echo $content; ?>
4 <?php $this->endContent(); ?>
2024-03-19 06:04:14 Apache/2.4.55 (Unix) Yii Framework/1.1.15