/home/apache/organization/www/protected/components/OrganizationUrlRule.php(218)
206 $url = "/".$this -> createUrl($manager, 'organization/tag', array('slug'=>$tag), "&"); 207 $request->redirect($url, TRUE, 301); 208 } 209 } 210 211 $_GET['slug']=$tag; 212 213 if ("uslugi-tovary" == $exploded[0]) 214 { 215 $tagType=Yii::app()->db->createCommand() 216 ->select('type_tag, id') 217 ->from(Yii::app()->params['tagTable']) 218 ->where('slug=?',array($slug)) 219 ->queryRow(); 220 221 $subcategoryId=Yii::app()->db->createCommand() 222 ->select('id_category') 223 ->from('tag_category_assn') 224 ->where('id_tag=?',array($tagType['id'])) 225 ->queryRow(); 226 227 $subcategory=Yii::app()->db->createCommand() 228 ->select('*') 229 ->from('organization_category') 230 ->where('id=?',array((int)$subcategoryId['id_category']))
#0 |
+
–
/home/apache/yii-framework/yii-1.1.13/yiilite.php(2941): OrganizationUrlRule->parseUrl(CUrlManager, CHttpRequest, "uslugi-tovary/korpusnaya-mebel", "uslugi-tovary/korpusnaya-mebel") 2936 $pathInfo=$this->removeUrlSuffix($rawPathInfo,$this->urlSuffix); 2937 foreach($this->_rules as $i=>$rule) 2938 { 2939 if(is_array($rule)) 2940 $this->_rules[$i]=$rule=Yii::createComponent($rule); 2941 if(($r=$rule->parseUrl($this,$request,$pathInfo,$rawPathInfo))!==false) 2942 return isset($_GET[$this->routeVar]) ? $_GET[$this->routeVar] : $r; 2943 } 2944 if($this->useStrictParsing) 2945 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 2946 array('{route}'=>$pathInfo))); |
#1 |
+
–
/home/apache/yii-framework/yii-1.1.13/yiilite.php(1644): CUrlManager->parseUrl(CHttpRequest) 1639 $route=$this->catchAllRequest[0]; 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(); |
#2 |
+
–
/home/apache/yii-framework/yii-1.1.13/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 { |
#3 |
+
–
/home/apache/organization/www/index.php(26): CApplication->run() 21 $config='protected/config/main.php'; 22 define('DEV_MODE',($_SERVER['SERVER_NAME']=='127.0.0.1' || $_SERVER['SERVER_NAME'] == "organization.ns3.handyhosting.ru")); 23 $yii=DEV_MODE ? '../../yii-framework/yii-1.1.13/yii.php':'../../yii-framework/yii-1.1.13/yiilite.php'; 24 define('YII_DEBUG',true); 25 require($yii); 26 Yii::createWebApplication($config)->run(); |