/home/shipplaning/public_html/protected/controllers/TodayController.php(179)
167 }else{ 168 $criteria_content_all->select = "t.id AS id, 169 cd_en.title AS title, 170 cd_en.subhead AS subhead, 171 cd_en.youtube AS youtube, 172 cd_en.videofile AS videofile, 173 cd_en.text AS text, 174 t.image AS image, 175 t.thumbnail AS thumbnail, 176 t.published AS published"; 177 $criteria_content_all->join = 'LEFT JOIN content_detail as cd_en ON (cd_en.id = t.en_id)'; 178 } 179 $criteria_content_all->condition = "t.type_id = '$content->type_id' AND published <> 'NULL' AND t.id <> '$content->id' AND publisher_id IS NOT NULL"; 180 $criteria_content_all->order = "published DESC LIMIT 0,4"; 181 182 $content_all = Content::model()->findAll($criteria_content_all); 183 184 Yii::app()->user->setState('content_id', $content_id); 185 186 $this->render('detail', array( 187 'content' => $content, 188 'content_all' => $content_all, 189 ) 190 ); 191 }
#0 |
unknown(0): TodayController->actionDetail("99")
|
#1 |
+
–
/home/shipplaning/public_html/framework/web/actions/CAction.php(104): ReflectionMethod->invokeArgs(TodayController, array("99")) 099 else if($param->isDefaultValueAvailable()) 100 $ps[]=$param->getDefaultValue(); 101 else 102 return false; 103 } 104 $method->invokeArgs($object,$ps); 105 return true; 106 } 107 } |
#2 |
+
–
/home/shipplaning/public_html/framework/web/actions/CInlineAction.php(48): CAction->runWithParamsInternal(TodayController, ReflectionMethod, array("content_id" => "99")) 43 { 44 $methodName='action'.$this->getId(); 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 |
+
–
/home/shipplaning/public_html/framework/web/CController.php(300): CInlineAction->runWithParams(array("content_id" => "99")) 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 |
+
–
/home/shipplaning/public_html/framework/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 |
+
–
/home/shipplaning/public_html/framework/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 |
+
–
/home/shipplaning/public_html/framework/web/CWebApplication.php(277): CController->run("detail") 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 |
+
–
/home/shipplaning/public_html/framework/web/CWebApplication.php(136): CWebApplication->runController("today/detail/content_id/99") 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 |
+
–
/home/shipplaning/public_html/framework/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 |
+
–
/home/shipplaning/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(); |