/var/www/html/vinaphim/protected/controllers/VideoController.php(315)
303 return $this->redirect(array("video/browse")); 304 305 $vod = VodAsset::model()->findByAttributes(array('id' => $id, 'status' => 1)); 306 307 if(isset($_GET['register_success']) && $_GET['register_success'] == 1){ 308 Yii::app()->user->setFlash('responseToUser', "Thông báo: 'Quý khách đã mua thành công bộ phim ".$vod->display_name." với giá ".$vod->price."đ. Thời gian sử dụng 24 giờ."); 309 } 310 311 $vs = (isset($vod) && $this->subscriber != NULL) ? $this->subscriber->hasVodAsset($vod, USING_TYPE_WATCH) : FALSE; 312 $vsRecvGift = (isset($vod) && $this->subscriber != NULL) ? $this->subscriber->hasVodAsset($vod, USING_TYPE_RECEIVE_GIFT) : FALSE; 313 314 $svc = NULL; 315 if ($vod->is_free != 1 && $viewTrailer == false) { 316 if (count($this->usingServices) > 0) { 317 $svc = $this->usingServices[0]; 318 //error_log("isExpired=" . $svc->isExpired() . ",vs=" .); 319 if ($svc->isExpired() && $vs === FALSE && $vsRecvGift === FALSE) 320 return $this->redirect(array("video/browse")); 321 } else if ($vod->price > 0 && $vs === FALSE && $vsRecvGift === FALSE) { 322 return $this->redirect(array("video/browse")); 323 } 324 } 325 326 $streams = array(); 327 $episode = isset($_REQUEST['episode']) ? $_REQUEST['episode'] : 0;
#0 |
unknown(0): VideoController->actionWatch("k3UE7ogjssM=")
|
#1 |
+
–
/var/www/html/yii-1.1.13.e9e4a0/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(VideoController, array("k3UE7ogjssM=")) 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/yii-1.1.13.e9e4a0/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(VideoController, ReflectionMethod, array("trailer" => "1", "id" => "k3UE7ogjssM=")) 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/yii-1.1.13.e9e4a0/framework/web/CController.php(308): CInlineAction->runWithParams(array("trailer" => "1", "id" => "k3UE7ogjssM=")) 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
#4 |
+
–
/var/www/html/yii-1.1.13.e9e4a0/framework/web/filters/CFilterChain.php(133): CController->runAction(CInlineAction) 128 $filter=$this->itemAt($this->filterIndex++); 129 Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain'); 130 $filter->filter($this); 131 } 132 else 133 $this->controller->runAction($this->action); 134 } 135 } |
#5 |
+
–
/var/www/html/yii-1.1.13.e9e4a0/framework/web/CController.php(291): CFilterChain->run() 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); 292 $this->_action=$priorAction; 293 } 294 } 295 296 /** |
#6 |
+
–
/var/www/html/yii-1.1.13.e9e4a0/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array("3GOnly + Purchase")) 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
#7 |
+
–
/var/www/html/yii-1.1.13.e9e4a0/framework/web/CWebApplication.php(282): CController->run("watch") 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))); |
#8 |
+
–
/var/www/html/yii-1.1.13.e9e4a0/framework/web/CWebApplication.php(141): CWebApplication->runController("video/watch") 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. |
#9 |
+
–
/var/www/html/yii-1.1.13.e9e4a0/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 /** |
#10 |
+
–
/var/www/html/vinaphim/index.php(15): CApplication->run() 10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 11 12 require_once($project_const); 13 require_once($yii); 14 15 Yii::createWebApplication($config)->run(); |