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/contato.php(58): CActiveRecord->findByPk("1")
53 </div><!-- form -->
54 
55 
56 <div id="contatos">
57     <?php
58 $pegaContato = contatogeral::model()->findByPk('1');
59     echo '<p><b>E-mail:</b> '.Yii::app()->obfuscator->disguise($pegaContato->email,true).'</p>';
60     echo '<p><b>Telefone 1:</b> '.$pegaContato->telefone.'</p>';
61     echo '<p><b>Telefone 2:</b> '.$pegaContato->celular.'</p>';
62     echo '<p><b>Twitter:</b> <a href="http://www.twitter.com/'.$pegaContato->twitter.'" title="Siga-me no Twitter">http://www.twitter.com/'.$pegaContato->twitter.'</a></p>';
63     ?>
#12
+
 /home/storage/e/91/08/diaesportivo/public_html/heulerandrey/protected/controllers/front/SiteController.php(259): CController->render("contato", array("model" => contato))
254        
255 
256                 //$this->refresh();
257             }
258         }
259         $this->render('contato',array('model'=>$model));
260     }
261 }
#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:18:01 Apache Yii Framework/1.1.14