/var/www/jungsu/data/www/jung.su/protected/views/categories/setkatalog.php(51)
39 } 40 $datamas['filtrdigitals'] .= '</ul></div>'; 41 unset($massidentic); 42 } 43 44 if($colors != ""){ //<div class="filter_t">Цвета механизмов:wefwfe</div> 45 preg_match('/([^\/]+)$/',$_REQUEST['request'], $fakeArr); 46 47 $activeDigitalColorUrl = $fakeArr[0]; 48 $datamas['filtrdigitals'] = '<div class="filter_box"><ul class="filter_ul"><li class="filter_li bigbig active" id="filter_digitalscolors_0"><a href="/'.(!empty($dop_url[0])||!empty($dop_url[1])?$this->urls['catalog_url'].$dop_url[0].$dop_url[1]:$this->urls['all_catalog_url']).'" onclick="setkatalog(0,\'digitalscolors\',\'all\');return false">Все цвета механизмов</a></li>'; 49 50 foreach ($colors as $cat) { 51 if($cat->url_ajax == "") { $cat->save(); } 52 53 $active = $cat->url_ajax == $activeDigitalColorUrl ? 'active' : ''; 54 55 $datamas['filtrdigitals'] .= '<li class="filter_li '.$active.'" id="filter_digitalscolors_'.$cat->id.'"> 56 <input type="radio" name="radio" class="checkbox" id="fdckupd'.$cat->id.'" onclick="setkatalog('.$cat->id.',\'digitalscolors\',\'all\');return false" /><label for="fdckupd'.$cat->id.'"> 57 <a href="/'.$this->urls['catalog_url'].$dop_url[0].''.$dop_url[1].'/'.$currentType.'/'.$cat->url_ajax.'" onclick="setkatalog('.$cat->id.',\'digitalscolors\',\'all\');return false">'.$cat->name.'</a></label></li>'; 58 } 59 $datamas['filtrdigitals'] .= '</ul></div>'; 60 } 61 } 62 $filterUrls = []; 63 if(!empty($filtrgoods)){
#0 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/CBaseController.php(126): require() 121 $data=$_data_; 122 if($_return_) 123 { 124 ob_start(); 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } |
#1 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/CBaseController.php(95): CBaseController->renderInternal("/var/www/jungsu/data/www/jung.su/protected/views/categories/setk...", array("filtrgoods" => array(Goods, Goods, Goods, Goods, ...), "goods" => "", "userinfo" => "", "categories" => array(Categories, Categories, Categories, Categories, ...), ...), true) 090 { 091 $widgetCount=count($this->_widgetStack); 092 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 093 $content=$renderer->renderFile($this,$viewFile,$data,$return); 094 else 095 $content=$this->renderInternal($viewFile,$data,$return); 096 if(count($this->_widgetStack)===$widgetCount) 097 return $content; 098 else 099 { 100 $widget=end($this->_widgetStack); |
#2 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/CController.php(943): CBaseController->renderFile("/var/www/jungsu/data/www/jung.su/protected/views/categories/setk...", array("filtrgoods" => array(Goods, Goods, Goods, Goods, ...), "goods" => "", "userinfo" => "", "categories" => array(Categories, Categories, Categories, Categories, ...), ...), true) 938 */ 939 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 940 { 941 if(($viewFile=$this->getViewFile($view))!==false) 942 { 943 $output=$this->renderFile($viewFile,$data,true); 944 if($processOutput) 945 $output=$this->processOutput($output); 946 if($return) 947 return $output; 948 else |
#3 |
+
–
/var/www/jungsu/data/www/jung.su/protected/controllers/CategoriesController.php(1191): CController->renderPartial("setkatalog", array("filtrgoods" => array(Goods, Goods, Goods, Goods, ...), "goods" => "", "userinfo" => "", "categories" => array(Categories, Categories, Categories, Categories, ...), ...)) 1186 1187 } 1188 1189 1190 1191 $this->renderPartial('setkatalog', array('filtrgoods'=>$filtrgoods,'goods'=>$goods,'userinfo'=>$userinfo,'categories'=>$categories,'cond'=>$cond,'colors'=>$colors,'bigcond'=>$bigcond, 'currentType' => $currentType, 'series' => $series, 'activeSeries' => $entryData['series'])); 1192 } 1193 } 1194 1195 public function actionSetkatalogtovars() 1196 { |
#4 |
+
–
/var/www/jungsu/data/www/jung.su/protected/controllers/Search_pagesController.php(1072): CategoriesController->actionSetkatalog(array("type" => 5558, "digitalstypes" => "5376")) 1067 } 1068 1069 if(isset($cond_attributes['0']['id'])){ 1070 //вильтр из кантродлера для аяксовых запросов 1071 ob_start(); 1072 (new CategoriesController('categories'))->actionSetkatalog(array('type' => 5558, 'digitalstypes' => $cond_attributes['0']['id'])); 1073 $filter = ob_get_clean(); 1074 $filter = json_decode($filter, true); 1075 } 1076 1077 |
#5 |
unknown(0): Search_pagesController->actionBigurl("rozetki-elektricheskie/slonovaya-kost")
|
#6 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(Search_pagesController, array("rozetki-elektricheskie/slonovaya-kost")) 103 elseif($param->isDefaultValueAvailable()) 104 $ps[]=$param->getDefaultValue(); 105 else 106 return false; 107 } 108 $method->invokeArgs($object,$ps); 109 return true; 110 } 111 } |
#7 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(Search_pagesController, ReflectionMethod, array("request" => "rozetki-elektricheskie/slonovaya-kost")) 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 } |
#8 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/CController.php(358): CInlineAction->runWithParams(array("request" => "rozetki-elektricheskie/slonovaya-kost")) 353 { 354 $priorAction=$this->_action; 355 $this->_action=$action; 356 if($this->beforeAction($action)) 357 { 358 if($action->runWithParams($this->getActionParams())===false) 359 $this->invalidActionParams($action); 360 else 361 $this->afterAction($action); 362 } 363 $this->_action=$priorAction; |
#9 |
+
–
/var/www/jungsu/data/www/jung.su/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 } |
#10 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/filters/CFilter.php(40): CFilterChain->run() 35 */ 36 public function filter($filterChain) 37 { 38 if($this->preFilter($filterChain)) 39 { 40 $filterChain->run(); 41 $this->postFilter($filterChain); 42 } 43 } 44 45 /** |
#11 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/CController.php(1219): CFilter->filter(CFilterChain) 1214 */ 1215 public function filterAccessControl($filterChain) 1216 { 1217 $filter=new CAccessControlFilter; 1218 $filter->setRules($this->accessRules()); 1219 $filter->filter($filterChain); 1220 } 1221 1222 /** 1223 * Returns a persistent page state value. 1224 * A page state is a variable that is persistent across POST requests of the same page. |
#12 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/filters/CInlineFilter.php(58): CController->filterAccessControl(CFilterChain) 53 * @param CFilterChain $filterChain the filter chain that the filter is on. 54 */ 55 public function filter($filterChain) 56 { 57 $method='filter'.$this->name; 58 $filterChain->controller->$method($filterChain); 59 } 60 } |
#13 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/filters/CFilterChain.php(130): CInlineFilter->filter(CFilterChain) 125 { 126 if($this->offsetExists($this->filterIndex)) 127 { 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 } |
#14 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/CController.php(341): CFilterChain->run() 336 $this->runAction($action); 337 else 338 { 339 $priorAction=$this->_action; 340 $this->_action=$action; 341 CFilterChain::create($this,$action,$filters)->run(); 342 $this->_action=$priorAction; 343 } 344 } 345 346 /** |
#15 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/CController.php(315): CController->runActionWithFilters(CInlineAction, array("accessControl")) 310 { 311 if(($parent=$this->getModule())===null) 312 $parent=Yii::app(); 313 if($parent->beforeControllerAction($this,$action)) 314 { 315 $this->runActionWithFilters($action,$this->filters()); 316 $parent->afterControllerAction($this,$action); 317 } 318 } 319 else 320 $this->missingAction($actionID); |
#16 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/CWebApplication.php(282): CController->run("bigurl") 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))); |
#17 |
+
–
/var/www/jungsu/data/www/jung.su/framework/web/CWebApplication.php(141): CWebApplication->runController("search_pages/bigurl") 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. |
#18 |
+
–
/var/www/jungsu/data/www/jung.su/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 /** |
#19 |
+
–
/var/www/jungsu/data/www/jung.su/index.php(61): CApplication->run() 56 // remove the following line when in production mode 57 defined('YII_DEBUG') or define('YII_DEBUG',true); 58 59 ob_start(); 60 require_once($yii); 61 Yii::createWebApplication($config)->run(); 62 $res = ob_get_clean(); 63 if(!isset($_SERVER['HTTP_X_REQUESTED_WITH']) || $_SERVER['HTTP_X_REQUESTED_WITH'] !== 'XMLHttpRequest'){ 64 65 $prepareData = true; 66 |