/home/wwwroot/complete/production/protected/controllers/AuctionController.php(184)
172 173 /** 174 * 拍品详细页面 175 */ 176 public function actionGoods(){ 177 Yii::app()->theme = 'v2'; 178 //echo"123";exit; 179 $objective_id = Yii::app()->request->getParam('goods_id'); 180 $objective = AuctionObjective::model()->findByPk( $objective_id ); 181 182 $auction = Auction::model()->findByPk($objective->auction_id); 183 184 $auction_cat = AuctionCat::model()->findByPk($auction->cat_id); 185 186 $objective_same = new AuctionObjective(); 187 $command = Yii::app()->db->createCommand(); 188 $returnObjective = $command->select('objective_name,image,opening_bid,objective_id') 189 ->from($objective_same->tableName()) 190 ->where('AUCTION_ID=:AUCTION_ID', array(':AUCTION_ID'=>$objective->auction_id)) 191 ->limit(5) 192 ->queryALL(); 193 194 if( $objective == null ){ 195 throw new CHttpException(404, Yii::t('common', 'The requested page does not exist.')); 196 }
#0 |
+
–
/home/wwwroot/framework/yiilite.php(3891): AuctionController->actionGoods() 3886 $controller=$this->getController(); 3887 $method=new ReflectionMethod($controller, $methodName); 3888 if($method->getNumberOfParameters()>0) 3889 return $this->runWithParamsInternal($controller, $method, $params); 3890 else 3891 return $controller->$methodName(); 3892 } 3893 } 3894 class CWebUser extends CApplicationComponent implements IWebUser 3895 { 3896 const FLASH_KEY_PREFIX='Yii.CWebUser.flash.'; |
#1 |
+
–
/home/wwwroot/framework/yiilite.php(3403): CInlineAction->runWithParams(array("goods_id" => "2")) 3398 { 3399 $priorAction=$this->_action; 3400 $this->_action=$action; 3401 if($this->beforeAction($action)) 3402 { 3403 if($action->runWithParams($this->getActionParams())===false) 3404 $this->invalidActionParams($action); 3405 else 3406 $this->afterAction($action); 3407 } 3408 $this->_action=$priorAction; |
#2 |
+
–
/home/wwwroot/framework/yiilite.php(3388): CController->runAction(CInlineAction) 3383 $this->missingAction($actionID); 3384 } 3385 public function runActionWithFilters($action,$filters) 3386 { 3387 if(empty($filters)) 3388 $this->runAction($action); 3389 else 3390 { 3391 $priorAction=$this->_action; 3392 $this->_action=$action; 3393 CFilterChain::create($this,$action,$filters)->run(); |
#3 |
+
–
/home/wwwroot/framework/yiilite.php(3378): CController->runActionWithFilters(CInlineAction, array()) 3373 { 3374 if(($parent=$this->getModule())===null) 3375 $parent=Yii::app(); 3376 if($parent->beforeControllerAction($this,$action)) 3377 { 3378 $this->runActionWithFilters($action,$this->filters()); 3379 $parent->afterControllerAction($this,$action); 3380 } 3381 } 3382 else 3383 $this->missingAction($actionID); |
#4 |
+
–
/home/wwwroot/framework/yiilite.php(1725): CController->run("goods") 1720 { 1721 list($controller,$actionID)=$ca; 1722 $oldController=$this->_controller; 1723 $this->_controller=$controller; 1724 $controller->init(); 1725 $controller->run($actionID); 1726 $this->_controller=$oldController; 1727 } 1728 else 1729 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 1730 array('{route}'=>$route===''?$this->defaultController:$route))); |
#5 |
+
–
/home/wwwroot/framework/yiilite.php(1645): CWebApplication->runController("auction/goods") 1640 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 1641 $_GET[$name]=$value; 1642 } 1643 else 1644 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 1645 $this->runController($route); 1646 } 1647 protected function registerCoreComponents() 1648 { 1649 parent::registerCoreComponents(); 1650 $components=array( |
#6 |
+
–
/home/wwwroot/framework/yiilite.php(1170): CWebApplication->processRequest() 1165 public function run() 1166 { 1167 if($this->hasEventHandler('onBeginRequest')) 1168 $this->onBeginRequest(new CEvent($this)); 1169 register_shutdown_function(array($this,'end'),0,false); 1170 $this->processRequest(); 1171 if($this->hasEventHandler('onEndRequest')) 1172 $this->onEndRequest(new CEvent($this)); 1173 } 1174 public function end($status=0,$exit=true) 1175 { |
#7 |
+
–
/home/wwwroot/complete/start.php(10): CApplication->run() 05 ini_set('session.name','AUTHENTICATION'); 06 //ini_set('session.use_cookies',0); 07 08 require( dirname(__FILE__).'/common/framework.php' ); 09 10 Yii::createWebApplication( HBasic::$setting )->run(); |
#8 |
+
–
/home/wwwroot/complete/production/index.php(75): include("/home/wwwroot/complete/start.php") 70 echo("<meta http-equiv=refresh content=0;url=http://mobile.lantaiyipai.com/>"); 71 }else{ 72 defined('H_APP_DIR') or define('H_APP_DIR',dirname(__FILE__)); 73 74 //load parent folder index to starting ... 75 include( H_APP_DIR.'/../start.php' ); 76 } 77 78 79 80 |