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

#7
+
 /home/storage/e/91/08/diaesportivo/public_html/heulerandrey/protected/views/front/site/biografia.php(5): CActiveRecord->findByPk("1")
1 <?php
2 $this->breadcrumbs=array(
3     'Biografia',
4 );
5 $pegaBiografia = biografia::model()->findByPk('1');
6 echo '<h1>Biografia</h1>';
7 
8 echo '<div id="bio">'. $pegaBiografia->biografia .'</div>
9 <div id="foto">'. CHtml::image("biografia/".$pegaBiografia->arquivo) .'</div>';
#12
+
 /home/storage/e/91/08/diaesportivo/public_html/heulerandrey/protected/controllers/front/SiteController.php(32): CController->render("biografia")
27      */
28     public function actionIndex() {
29         $this->render('index');
30     }
31     public function actionBiografia() {
32         $this->render('biografia');
33     }
34     public function actionServico() {
35         $criteria=new CDbCriteria(array(
36                         'order'=>'nome ASC',
37         ));
#20
+
 /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 02:34:38 Apache Yii Framework/1.1.14