/var/www/html/qjyzzs/web/protected/modules/Muniversity/controllers/TourController.php(75)
63 'catname' => $catname[(int)$_GET['upid']] ? $catname[(int)$_GET['upid']] : '校园风光' 64 )); 65 } 66 67 /** 68 * 查看图片 69 */ 70 public function actionView($id) 71 { 72 73 $model = StudentImg::model()->findByPk($id); 74 $catmodel = StudentGuide::model()->findByPk($model->upid); 75 $model->view ++; 76 $model->save(); 77 78 $this->render('view', array('model' => $model, 'upid'=>$catmodel->id, 'catname'=>$catmodel->name ? $catmodel->name : '校园风光')); 79 } 80 81 }
#0 |
unknown(0): TourController->actionView("86")
|
#1 |
+
–
/var/www/html/qjyzzs/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(TourController, array("86")) 103 elseif($param->isDefaultValueAvailable()) 104 $ps[]=$param->getDefaultValue(); 105 else 106 return false; 107 } 108 $method->invokeArgs($object,$ps); 109 return true; 110 } 111 } |
#2 |
+
–
/var/www/html/qjyzzs/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(TourController, ReflectionMethod, array("do" => "qjyzzs.jysd.com", "id" => "86")) 42 { 43 $methodName='action'.$this->getId(); 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 else 49 return $controller->$methodName(); 50 } 51 52 } |
#3 |
+
–
/var/www/html/qjyzzs/framework/web/CController.php(312): CInlineAction->runWithParams(array("do" => "qjyzzs.jysd.com", "id" => "86")) 307 { 308 $priorAction=$this->_action; 309 $this->_action=$action; 310 if($this->beforeAction($action)) 311 { 312 if($action->runWithParams($this->getActionParams())===false) 313 $this->invalidActionParams($action); 314 else 315 $this->afterAction($action); 316 } 317 $this->_action=$priorAction; |
#4 |
+
–
/var/www/html/qjyzzs/framework/web/CController.php(290): CController->runAction(CInlineAction) 285 * @see runAction 286 */ 287 public function runActionWithFilters($action,$filters) 288 { 289 if(empty($filters)) 290 $this->runAction($action); 291 else 292 { 293 $priorAction=$this->_action; 294 $this->_action=$action; 295 CFilterChain::create($this,$action,$filters)->run(); |
#5 |
+
–
/var/www/html/qjyzzs/framework/web/CController.php(269): CController->runActionWithFilters(CInlineAction, array()) 264 { 265 if(($parent=$this->getModule())===null) 266 $parent=Yii::app(); 267 if($parent->beforeControllerAction($this,$action)) 268 { 269 $this->runActionWithFilters($action,$this->filters()); 270 $parent->afterControllerAction($this,$action); 271 } 272 } 273 else 274 $this->missingAction($actionID); |
#6 |
+
–
/var/www/html/qjyzzs/framework/web/CWebApplication.php(282): CController->run("view") 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
#7 |
+
–
/var/www/html/qjyzzs/framework/web/CWebApplication.php(141): CWebApplication->runController("Muniversity/tour/view/id/86") 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
#8 |
+
–
/var/www/html/qjyzzs/framework/base/CApplication.php(169): CWebApplication->processRequest() 164 public function run() 165 { 166 if($this->hasEventHandler('onBeginRequest')) 167 $this->onBeginRequest(new CEvent($this)); 168 register_shutdown_function(array($this,'end'),0,false); 169 $this->processRequest(); 170 if($this->hasEventHandler('onEndRequest')) 171 $this->onEndRequest(new CEvent($this)); 172 } 173 174 /** |
#9 |
+
–
/var/www/html/qjyzzs/web/index.php(25): CApplication->run() 20 // defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 21 //} 22 $help=dirname(__FILE__).'/protected/config/help.php'; 23 require_once($yii); 24 require_once($help); 25 Yii::createWebApplication($config)->run(); |