CDbException

CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1275] Server is running in --secure-auth mode, but 'diaesportivo1'@'187.45.240.106' has a password in the old format; please change the password to the new format

/home/storage/e/91/08/diaesportivo/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

#15
+
 /home/storage/e/91/08/diaesportivo/public_html/heulerandrey/protected/views/front/site/portfolio.php(11): CBaseController->widget("zii.widgets.CListView", array("template" => "{items} {pager}", "dataProvider" => CActiveDataProvider, "itemView" => "portfolio_view"))
06 
07 $this->widget('zii.widgets.CListView', array(
08     'template'=>"{items}\n{pager}",
09     'dataProvider'=>$dataProvider,
10     'itemView'=>'portfolio_view',
11 ));
#20
+
 /home/storage/e/91/08/diaesportivo/public_html/heulerandrey/protected/controllers/front/SiteController.php(81): CController->render("portfolio", array("dataProvider" => CActiveDataProvider))
76                                 'pageSize'=>12,
77                         ),
78         ));
79         $this->render('portfolio',array(
80                 'dataProvider'=>$dataProvider,
81         ));
82     }
83     public function actionFotos() {
84         $dataProvider=new CActiveDataProvider('foto', array(
85                         'criteria'=>array(
86                           'order'=>'id DESC',
#28
+
 /home/storage/e/91/08/diaesportivo/public_html/heulerandrey/protected/components/WebApplicationEndBehavior.php(25): CApplication->run()
20         // Attach the changeModulePaths event handler
21         // and raise it.
22         $this->onModuleCreate = array($this, 'changeModulePaths');
23         $this->onModuleCreate(new CEvent($this->owner));
24  
25         $this->owner->run(); // Run application.
26     }
27  
28     // This event should be raised when CWebApplication
29     // or CWebModule instances are being initialized.
30     public function onModuleCreate($event)
2024-03-19 07:40:07 Apache Yii Framework/1.1.14