/opt/bitnami/apps/legacy.lomastravel.com.mx/htdocs/lib/yii/db/CDbCommand.php(516)
504 return $result; 505 } 506 catch(Exception $e) 507 { 508 if($this->_connection->enableProfiling) 509 Yii::endProfile('system.db.CDbCommand.query('.$this->getText().$par.')','system.db.CDbCommand.query'); 510 $errorInfo = $e instanceof PDOException ? $e->errorInfo : null; 511 $message = $e->getMessage(); 512 Yii::log(Yii::t('yii','CDbCommand::{method}() failed: {error}. The SQL statement executed was: {sql}.', 513 array('{method}'=>$method, '{error}'=>$message, '{sql}'=>$this->getText().$par)),CLogger::LEVEL_ERROR,'system.db.CDbCommand'); 514 if(YII_DEBUG) 515 $message .= '. The SQL statement executed was: '.$this->getText().$par; 516 throw new CDbException(Yii::t('yii','CDbCommand failed to execute the SQL statement: {error}', 517 array('{error}'=>$message)),(int)$e->getCode(),$errorInfo); 518 } 519 } 520 521 /** 522 * Builds a SQL SELECT statement from the given query specification. 523 * @param array $query the query specification in name-value pairs. The following 524 * query options are supported: {@link select}, {@link distinct}, {@link from}, 525 * {@link where}, {@link join}, {@link group}, {@link having}, {@link order}, 526 * {@link limit}, {@link offset} and {@link union}. 527 * @return string the SQL statement 528 * @since 1.1.6
#0 |
+
–
/opt/bitnami/apps/legacy.lomastravel.com.mx/htdocs/lib/yii/db/CDbCommand.php(374): CDbCommand->queryInternal("fetchAll", array(2), array()) 369 * An empty array is returned if the query results in nothing. 370 * @throws CException execution failed 371 */ 372 public function queryAll($fetchAssociative=true,$params=array()) 373 { 374 return $this->queryInternal('fetchAll',$fetchAssociative ? $this->_fetchMode : PDO::FETCH_NUM, $params); 375 } 376 377 /** 378 * Executes the SQL statement and returns the first row of the result. 379 * This is a convenient method of {@link query} when only the first row of data is needed. |
#1 |
+
–
/opt/bitnami/apps/legacy.lomastravel.com.mx/htdocs/inc/controllers/ToursController.php(85): CDbCommand->queryAll() 80 81 ->from('galeria g, foto f') 82 83 ->where('f.foto_galeria = g.galeria_id AND g.galeria_id IN ('.implode(',', $galeriaList).')') 84 85 ->queryAll(); 86 87 88 89 $_categorias = array(); 90 |
#2 |
+
–
/opt/bitnami/apps/legacy.lomastravel.com.mx/htdocs/lib/yii/web/actions/CInlineAction.php(50): ToursController->actionIndex() 45 $controller=$this->getController(); 46 $method=new ReflectionMethod($controller, $methodName); 47 if($method->getNumberOfParameters()>0) 48 return $this->runWithParamsInternal($controller, $method, $params); 49 else 50 return $controller->$methodName(); 51 } 52 53 } |
#3 |
+
–
/opt/bitnami/apps/legacy.lomastravel.com.mx/htdocs/lib/yii/web/CController.php(300): CInlineAction->runWithParams(array()) 295 { 296 $priorAction=$this->_action; 297 $this->_action=$action; 298 if($this->beforeAction($action)) 299 { 300 if($action->runWithParams($this->getActionParams())===false) 301 $this->invalidActionParams($action); 302 else 303 $this->afterAction($action); 304 } 305 $this->_action=$priorAction; |
#4 |
+
–
/opt/bitnami/apps/legacy.lomastravel.com.mx/htdocs/lib/yii/web/CController.php(278): CController->runAction(CInlineAction) 273 * @see runAction 274 */ 275 public function runActionWithFilters($action,$filters) 276 { 277 if(empty($filters)) 278 $this->runAction($action); 279 else 280 { 281 $priorAction=$this->_action; 282 $this->_action=$action; 283 CFilterChain::create($this,$action,$filters)->run(); |
#5 |
+
–
/opt/bitnami/apps/legacy.lomastravel.com.mx/htdocs/lib/yii/web/CController.php(257): CController->runActionWithFilters(CInlineAction, array()) 252 { 253 if(($parent=$this->getModule())===null) 254 $parent=Yii::app(); 255 if($parent->beforeControllerAction($this,$action)) 256 { 257 $this->runActionWithFilters($action,$this->filters()); 258 $parent->afterControllerAction($this,$action); 259 } 260 } 261 else 262 $this->missingAction($actionID); |
#6 |
+
–
/opt/bitnami/apps/legacy.lomastravel.com.mx/htdocs/lib/yii/web/CWebApplication.php(277): CController->run("index") 272 { 273 list($controller,$actionID)=$ca; 274 $oldController=$this->_controller; 275 $this->_controller=$controller; 276 $controller->init(); 277 $controller->run($actionID); 278 $this->_controller=$oldController; 279 } 280 else 281 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 282 array('{route}'=>$route===''?$this->defaultController:$route))); |
#7 |
+
–
/opt/bitnami/apps/legacy.lomastravel.com.mx/htdocs/lib/yii/web/CWebApplication.php(136): CWebApplication->runController("tours/index") 131 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 132 $_GET[$name]=$value; 133 } 134 else 135 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 136 $this->runController($route); 137 } 138 139 /** 140 * Registers the core application components. 141 * This method overrides the parent implementation by registering additional core components. |
#8 |
+
–
/opt/bitnami/apps/legacy.lomastravel.com.mx/htdocs/lib/yii/base/CApplication.php(158): CWebApplication->processRequest() 153 */ 154 public function run() 155 { 156 if($this->hasEventHandler('onBeginRequest')) 157 $this->onBeginRequest(new CEvent($this)); 158 $this->processRequest(); 159 if($this->hasEventHandler('onEndRequest')) 160 $this->onEndRequest(new CEvent($this)); 161 } 162 163 /** |
#9 |
+
–
/opt/bitnami/apps/legacy.lomastravel.com.mx/htdocs/index.php(28): CApplication->run() 23 require_once($Yii); 24 ini_set("output_buffering",0); 25 ini_set("output_handler",null); 26 ini_set("implicit_flush",0); 27 28 Yii::createWebApplication($Config)->run(); 29 30 /* 31 Yii::app()->onEndRequest = function($event){ 32 return ob_end_flush(); 33 }; |