/home/c/ch21813/sexshop/public_html/protected/controllers/ShopController.php(186)
174 175 public function actionCategory($id) 176 { 177 $_GET['in_stock'] = 1; 178 179 $this->checkModuleActive('shop'); 180 181 $this->showWhyWe = false; 182 183 $category = Category::model()->findByPk($id); 184 185 if (!$category) { 186 throw new CHttpException(404, 'Страница не найдена'); 187 } 188 189 $this->breadcrumbs->add($this->getHomeTitle(), '/shop'); 190 $this->breadcrumbs->addByNestedSet($category, '/shop/category'); 191 $this->breadcrumbs->add($category->title); 192 193 $seoTitle = $category->title; 194 195 $meta = $category->meta; 196 197 if (CityHelper::getCurrentCityID() == 1) { 198 $seoTitle = 'Купить ' . $category->title . ' в Новосибирске';
#0 |
unknown(0): ShopController->actionCategory("96")
|
#1 |
+
–
/home/c/ch21813/sexshop/yii/yiilite.php(4208): ReflectionMethod->invokeArgs(ShopController, array("96")) 4203 elseif($param->isDefaultValueAvailable()) 4204 $ps[]=$param->getDefaultValue(); 4205 else 4206 return false; 4207 } 4208 $method->invokeArgs($object,$ps); 4209 return true; 4210 } 4211 } 4212 class CInlineAction extends CAction 4213 { |
#2 |
+
–
/home/c/ch21813/sexshop/yii/yiilite.php(4225): CAction->runWithParamsInternal(ShopController, ReflectionMethod, array("id" => "96")) 4220 { 4221 $methodName='action'.$this->getId(); 4222 $controller=$this->getController(); 4223 $method=new ReflectionMethod($controller, $methodName); 4224 if($method->getNumberOfParameters()>0) 4225 return $this->runWithParamsInternal($controller, $method, $params); 4226 $controller->$methodName(); 4227 return true; 4228 } 4229 } 4230 class CWebUser extends CApplicationComponent implements IWebUser |
#3 |
+
–
/home/c/ch21813/sexshop/yii/yiilite.php(3739): CInlineAction->runWithParams(array("id" => "96")) 3734 { 3735 $priorAction=$this->_action; 3736 $this->_action=$action; 3737 if($this->beforeAction($action)) 3738 { 3739 if($action->runWithParams($this->getActionParams())===false) 3740 $this->invalidActionParams($action); 3741 else 3742 $this->afterAction($action); 3743 } 3744 $this->_action=$priorAction; |
#4 |
+
–
/home/c/ch21813/sexshop/yii/yiilite.php(3724): CController->runAction(CInlineAction) 3719 $this->missingAction($actionID); 3720 } 3721 public function runActionWithFilters($action,$filters) 3722 { 3723 if(empty($filters)) 3724 $this->runAction($action); 3725 else 3726 { 3727 $priorAction=$this->_action; 3728 $this->_action=$action; 3729 CFilterChain::create($this,$action,$filters)->run(); |
#5 |
+
–
/home/c/ch21813/sexshop/yii/yiilite.php(3714): CController->runActionWithFilters(CInlineAction, array()) 3709 { 3710 if(($parent=$this->getModule())===null) 3711 $parent=Yii::app(); 3712 if($parent->beforeControllerAction($this,$action)) 3713 { 3714 $this->runActionWithFilters($action,$this->filters()); 3715 $parent->afterControllerAction($this,$action); 3716 } 3717 } 3718 else 3719 $this->missingAction($actionID); |
#6 |
+
–
/home/c/ch21813/sexshop/yii/yiilite.php(1799): CController->run("category") 1794 { 1795 list($controller,$actionID)=$ca; 1796 $oldController=$this->_controller; 1797 $this->_controller=$controller; 1798 $controller->init(); 1799 $controller->run($actionID); 1800 $this->_controller=$oldController; 1801 } 1802 else 1803 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 1804 array('{route}'=>$route===''?$this->defaultController:$route))); |
#7 |
+
–
/home/c/ch21813/sexshop/yii/yiilite.php(1719): CWebApplication->runController("shop/category") 1714 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 1715 $_GET[$name]=$value; 1716 } 1717 else 1718 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 1719 $this->runController($route); 1720 } 1721 protected function registerCoreComponents() 1722 { 1723 parent::registerCoreComponents(); 1724 $components=array( |
#8 |
+
–
/home/c/ch21813/sexshop/yii/yiilite.php(1236): CWebApplication->processRequest() 1231 public function run() 1232 { 1233 if($this->hasEventHandler('onBeginRequest')) 1234 $this->onBeginRequest(new CEvent($this)); 1235 register_shutdown_function(array($this,'end'),0,false); 1236 $this->processRequest(); 1237 if($this->hasEventHandler('onEndRequest')) 1238 $this->onEndRequest(new CEvent($this)); 1239 } 1240 public function end($status=0,$exit=true) 1241 { |
#9 |
+
–
/home/c/ch21813/sexshop/public_html/index.php(63): CApplication->run() 58 59 $config = dirname(__FILE__) . '/protected/config/main.php'; 60 61 require_once($yii); 62 63 Yii::createWebApplication($config)->run(); 64 65 if (isset($_GET['time']) || D_MODE_LOCAL) { 66 // echo '<br>'; 67 // echo microtime(true) - $start; 68 } |