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(144)

132         $this->pageTitle="Ofertas de Casa";
133         $this->render("ofertas_home",array("DestinosHoteles"=>""));
134     }
135 
136     public function actionOfertasmsi()
137     {    $this->pageTitle="Ofertas Meses sin Interese";
138         $this->render("listado_msi",array("DestinosHoteles"=>""));
139     }
140 
141 
142     public function actionDetalle()
143     {
144         $Tour = Yii::app()->db->createCommand()
145                                 ->select('*')
146                                 ->from('tour')
147                                 ->join("destino","destino_id = tour_destino")
148                                 ->join("tour_descripcion","descripcion_tour = tour_id")
149                                 ->join("tour_proveedores","tour_proveedor = proveedores_id")
150                                 ->where("tour_status = 1 and descripcion_idioma = :idioma and (tour_clave_es = :clave OR tour_clave = :clave)",array(":clave"=> $_REQUEST["prod"],":idioma"=>2))
151                                 ->order("destino_id ASC, rand()")
152                                 ->queryRow();
153 
154 
155 
156 

Stack Trace

#4
+
 /home/auto531/new/es/inc/controllers/ToursController.php(144): CModule->__get("db")
139     }
140 
141 
142     public function actionDetalle()
143     {
144         $Tour = Yii::app()->db->createCommand()
145                                 ->select('*')
146                                 ->from('tour')
147                                 ->join("destino","destino_id = tour_destino")
148                                 ->join("tour_descripcion","descripcion_tour = tour_id")
149                                 ->join("tour_proveedores","tour_proveedor = proveedores_id")
#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 15:55:30 Apache Yii Framework/1.1.8