CDbException

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

/home/auto531/new/es/inc/controllers/ToursController.php(302)

290 
291             }
292 
293         }else{
294             $this->redirect($this->createUrl("tours/index"));
295         }
296 
297     }
298 
299     public function actionListado(){
300         if(isset($_REQUEST["dest"])){
301 
302             $destino = Yii::app()->db->createCommand()
303                         ->select("*")
304                         ->from('destino')
305                         ->where("destino_clave Like :clave",array(":clave"=>$_REQUEST["dest"]))
306                         ->queryRow();
307 
308 
309 
310 
311             $_REQUEST["tour_destination"] = ((isset($_REQUEST["tour_destination"])) ? $_REQUEST["tour_destination"] : $destino["nombre_" . Yii::app()->language]);
312             $_REQUEST["tour_fecha"] = ((isset($_REQUEST["tour_fecha"])) ? $_REQUEST["tour_fecha"] : date("m/d/Y",mktime(0,0,0,date("m"),date("d")+3,date("Y"))) );
313             $_REQUEST["tour_adults"] = ((isset($_REQUEST["tour_adults"])) ? $_REQUEST["tour_adults"] : 1);
314             $_REQUEST["tour_childs"] = ((isset($_REQUEST["tour_childs"])) ? $_REQUEST["tour_childs"] : 0);

Stack Trace

#4
+
 /home/auto531/new/es/inc/controllers/ToursController.php(302): CModule->__get("db")
297     }
298 
299     public function actionListado(){
300         if(isset($_REQUEST["dest"])){
301 
302             $destino = Yii::app()->db->createCommand()
303                         ->select("*")
304                         ->from('destino')
305                         ->where("destino_clave Like :clave",array(":clave"=>$_REQUEST["dest"]))
306                         ->queryRow();
307 
#12
+
 /home/auto531/new/es/index.php(80): CApplication->run()
75     $Config = dirname(__FILE__) . "/inc/config/Main.php";
76     
77     defined("YII_DEBUG") or define("YII_DEBUG",true);
78     
79     require_once($Yii);
80     Yii::createWebApplication($Config)->run();    
81 ?>
2024-03-28 12:20:50 Apache Yii Framework/1.1.8