CDbException

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

/home/ananmembers/domains/ananmembers.org/yii/framework/db/CDbConnection.php(382)

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

Stack Trace

#7
+
 /home/ananmembers/domains/ananmembers.org/public_html/protected/views/layouts/main.php(112): CActiveRecord->find("username=:username", array(":username" => "Guest"))
107                         </div>
108                     <?php endif; ?>
109                     <div class="separator bottom"></div>
110 
111                     <ul>
112                         <?php $user = User::model()->find('username=:username', array(':username' => Yii::app()->user->name)); ?>
113                         <?php if ($user !== NULL): ?>
114 
115                             <li class="hasSubmenu glyphicons circle_plus active">
116                                 <a data-toggle="collapse" href=' #menu_add'><i></i><span>Menu</span></a>
117                                 <ul class="collapse in" id="menu_add">
#15
+
 /home/ananmembers/domains/ananmembers.org/public_html/protected/views/layouts/column2.php(14): CBaseController->endContent()
09             'items'=>$this->menu,
10             'htmlOptions'=>array('class'=>'operations'),
11         ));
12         $this->endWidget();
13     ?>
14 <?php $this->endContent(); ?>
#19
+
 /home/ananmembers/domains/ananmembers.org/public_html/protected/controllers/CimaRecipController.php(59): CController->render("info")
54             'model' => $this->loadModel($id),
55         ));
56     }
57 
58     public function actionInfo() {
59         $this->render('info');
60     }
61 
62     /**
63      * Creates a new model.
64      * If creation is successful, the browser will be redirected to the 'view' page.
2024-03-28 22:44:28 LiteSpeed Yii Framework/1.1.15