/home/admin/web/boileau-music.com/public_html/protected/controllers/SiteController.php(216)
204 if(!empty($slug2)){ 205 $parent = Page::model()->find("slug='".$slug2."' and lang_id=".$lang_id); 206 $where=""; 207 if(!empty($parent)){ 208 $where = " and parent_id=".$parent["id"]; 209 } 210 $page = Page::model()->find("slug='".$slug."' and lang_id=".$lang_id.$where); 211 } 212 $this->pageTitle = $page["title"].Yii::app()->params["title"]; 213 //$this->descriptionWeb = $page["description_web"]; 214 //$this->keywordsWeb = $page["description_web"]; 215 216 switch($page->module){ 217 case "prensa": 218 $prensas = Press::model()->findAll(array("condition"=>"active=1 and lang_id=:lang_id","params"=>array(":lang_id"=>$lang_id),"order"=>"orden asc")); 219 $datos = array("page"=>$page,"prensas"=>$prensas,"lang_id"=>$lang_id); 220 break; 221 case "fancybox": 222 $datos = array("page"=>$page,"lang_id"=>$lang_id); 223 $this->renderPartial("fancybox",$datos); 224 exit(); 225 break; 226 case "devoluciones": 227 $datos = array("page"=>$page,"lang_id"=>$lang_id); 228 $this->renderPartial("fancybox",$datos);
#0 |
+
–
/home/admin/web/boileau-music.com/public_html/yii/framework/web/actions/CInlineAction.php(50): SiteController->actionPage() 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 } |
#1 |
+
–
/home/admin/web/boileau-music.com/public_html/yii/framework/web/CController.php(309): CInlineAction->runWithParams(array("lang" => "ca", "slug" => "historia", "slug2" => "genere", "slug3" => "obres")) 304 { 305 $priorAction=$this->_action; 306 $this->_action=$action; 307 if($this->beforeAction($action)) 308 { 309 if($action->runWithParams($this->getActionParams())===false) 310 $this->invalidActionParams($action); 311 else 312 $this->afterAction($action); 313 } 314 $this->_action=$priorAction; |
#2 |
+
–
/home/admin/web/boileau-music.com/public_html/yii/framework/web/CController.php(287): CController->runAction(CInlineAction) 282 * @see runAction 283 */ 284 public function runActionWithFilters($action,$filters) 285 { 286 if(empty($filters)) 287 $this->runAction($action); 288 else 289 { 290 $priorAction=$this->_action; 291 $this->_action=$action; 292 CFilterChain::create($this,$action,$filters)->run(); |
#3 |
+
–
/home/admin/web/boileau-music.com/public_html/yii/framework/web/CController.php(266): CController->runActionWithFilters(CInlineAction, array()) 261 { 262 if(($parent=$this->getModule())===null) 263 $parent=Yii::app(); 264 if($parent->beforeControllerAction($this,$action)) 265 { 266 $this->runActionWithFilters($action,$this->filters()); 267 $parent->afterControllerAction($this,$action); 268 } 269 } 270 else 271 $this->missingAction($actionID); |
#4 |
+
–
/home/admin/web/boileau-music.com/public_html/yii/framework/web/CWebApplication.php(283): CController->run("page") 278 { 279 list($controller,$actionID)=$ca; 280 $oldController=$this->_controller; 281 $this->_controller=$controller; 282 $controller->init(); 283 $controller->run($actionID); 284 $this->_controller=$oldController; 285 } 286 else 287 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 288 array('{route}'=>$route===''?$this->defaultController:$route))); |
#5 |
+
–
/home/admin/web/boileau-music.com/public_html/yii/framework/web/CWebApplication.php(142): CWebApplication->runController("site/page/lang/ca/slug/historia/slug2/genere/slug3/obres") 137 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 138 $_GET[$name]=$value; 139 } 140 else 141 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 142 $this->runController($route); 143 } 144 145 /** 146 * Registers the core application components. 147 * This method overrides the parent implementation by registering additional core components. |
#6 |
+
–
/home/admin/web/boileau-music.com/public_html/yii/framework/base/CApplication.php(162): CWebApplication->processRequest() 157 */ 158 public function run() 159 { 160 if($this->hasEventHandler('onBeginRequest')) 161 $this->onBeginRequest(new CEvent($this)); 162 $this->processRequest(); 163 if($this->hasEventHandler('onEndRequest')) 164 $this->onEndRequest(new CEvent($this)); 165 } 166 167 /** |
#7 |
+
–
/home/admin/web/boileau-music.com/public_html/index.php(24): CApplication->run() 19 defined('YII_DEBUG') or define('YII_DEBUG',true); 20 // specify how many levels of call stack should be shown in each log message 21 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 22 23 require_once($yii); 24 Yii::createWebApplication($config)->run(); |