/var/www/ulkan/vhost/ulkansayt.uz/protected/modules/marvarid/components/system/System.php(66)
54 * @param string $class 55 * @throws Exception 56 */ 57 public static function pageNotFound($msg = '') { 58 throw new CHttpException(404, static::errorMsg($msg)); 59 } 60 61 /** 62 * Same as error(), but throws database exceptions 63 * @param string $text 64 */ 65 public static function paymentRequired() { 66 throw new CHttpException(402); 67 } 68 69 public static function temporarilyClosed() { 70 throw new CHttpException(423); 71 } 72 73 public static function siteNotSetup() { 74 throw new CHttpException(405); 75 } 76 77 public static function siteNotActivatedByEmail() { 78 throw new CHttpException(428);
#0 |
+
–
/var/www/ulkan/vhost/ulkansayt.uz/protected/modules/membership/listeners/MembershipEventListener.php(19): System::paymentRequired() 14 if (Yii::app()->getUrlManager()->isBackend()) { 15 if (Yii::app()->getController()->getId() !== 'planBackend') { 16 Yii::app()->getRequest()->redirect(Yii::app()->createUrl('/membership/planBackend/upgrade')); 17 } 18 } else { 19 System::paymentRequired(); 20 } 21 } 22 } |
#1 |
+
–
/var/www/ulkan/vhost/ulkansayt.uz/vendor/yiisoft/yii/framework/base/CComponent.php(559): MembershipEventListener::handleOnPaymentRequired(CEvent) 554 if(is_array($handler)) 555 { 556 // an array: 0 - object, 1 - method name 557 list($object,$method)=$handler; 558 if(is_string($object)) // static method call 559 call_user_func($handler,$event); 560 elseif(method_exists($object,$method)) 561 $object->$method($event); 562 else 563 throw new CException(Yii::t('yii','Event "{class}.{event}" is attached with an invalid handler "{handler}".', 564 array('{class}'=>get_class($this), '{event}'=>$name, '{handler}'=>$handler[1]))); |
#2 |
+
–
/var/www/ulkan/vhost/ulkansayt.uz/protected/modules/membership/components/FMembershipComponent.php(88): CComponent->raiseEvent("onpaymentrequired", CEvent) 83 84 /** 85 * {@inheritdoc} 86 */ 87 public function onPaymentRequired(CEvent $event) { 88 $this->raiseEvent('onPaymentRequired', $event); 89 } 90 91 /** 92 * {@inheritdoc} 93 */ |
#3 |
+
–
/var/www/ulkan/vhost/ulkansayt.uz/protected/modules/membership/components/FMembershipComponent.php(73): FMembershipComponent->onPaymentRequired(CEvent) 68 69 public function raiseStatusEvent() { 70 $eventName = 'on' . ucfirst($this->getPlan()->getStatus()); 71 if ($this->hasEventHandler($eventName)) { 72 $event = new CEvent($this); 73 $this->{$eventName}($event); 74 } 75 } 76 77 /** 78 * {@inheritdoc} |
#4 |
+
–
/var/www/ulkan/vhost/ulkansayt.uz/protected/modules/membership/components/FMembershipComponent.php(66): FMembershipComponent->raiseStatusEvent() 61 $this->services = Yii::app()->payment->services; 62 if (!IS_USER_SITE) { 63 return; 64 } 65 66 $this->raiseStatusEvent(); 67 } 68 69 public function raiseStatusEvent() { 70 $eventName = 'on' . ucfirst($this->getPlan()->getStatus()); 71 if ($this->hasEventHandler($eventName)) { |
#5 |
+
–
/var/www/ulkan/vhost/ulkansayt.uz/vendor/yiisoft/yii/framework/base/CModule.php(394): FMembershipComponent->init() 389 if(!isset($config['enabled']) || $config['enabled']) 390 { 391 Yii::trace("Loading \"$id\" application component",'system.CModule'); 392 unset($config['enabled']); 393 $component=Yii::createComponent($config); 394 $component->init(); 395 return $this->_components[$id]=$component; 396 } 397 } 398 } 399 |
#6 |
+
–
/var/www/ulkan/vhost/ulkansayt.uz/protected/modules/yupe/components/controllers/Controller.php(61): CModule->getComponent("membership") 56 } elseif ($this->loadMembershipComponent) { 57 \System::internalError("You can not load membership, but not load site"); 58 } 59 60 if ($this->loadSiteComponent && $this->loadMembershipComponent) { 61 Yii::app()->getComponent('membership'); 62 } 63 64 return parent::beforeAction($action); 65 } 66 |
#7 |
+
–
/var/www/ulkan/vhost/ulkansayt.uz/vendor/yiisoft/yii/framework/web/CController.php(306): yupe\components\controllers\Controller->beforeAction(CInlineAction) 301 */ 302 public function runAction($action) 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); |
#8 |
+
–
/var/www/ulkan/vhost/ulkansayt.uz/vendor/yiisoft/yii/framework/web/CController.php(286): CController->runAction(CInlineAction) 281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); |
#9 |
+
–
/var/www/ulkan/vhost/ulkansayt.uz/vendor/yiisoft/yii/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array()) 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); |
#10 |
+
–
/var/www/ulkan/vhost/ulkansayt.uz/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): CController->run("index") 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))); |
#11 |
+
–
/var/www/ulkan/vhost/ulkansayt.uz/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController("store/product/index") 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. |
#12 |
+
–
/var/www/ulkan/vhost/ulkansayt.uz/vendor/yiisoft/yii/framework/base/CApplication.php(185): CWebApplication->processRequest() 180 public function run() 181 { 182 if($this->hasEventHandler('onBeginRequest')) 183 $this->onBeginRequest(new CEvent($this)); 184 register_shutdown_function(array($this,'end'),0,false); 185 $this->processRequest(); 186 if($this->hasEventHandler('onEndRequest')) 187 $this->onEndRequest(new CEvent($this)); 188 } 189 190 /** |
#13 |
+
–
/var/www/ulkan/vhost/ulkansayt.uz/public/index.php(41): CApplication->run() 36 $confManager = new yupe\components\ConfigManager(); 37 $confManager->sentEnv(\yupe\components\ConfigManager::ENV_WEB); 38 39 require ROOT_DIR . '/vendor/autoload.php'; 40 41 Yii::createApplication('WebApplication', $confManager->merge($base))->run(); 42 |