/var/www/lifedeco/data/www/lifedeco.kz/protected/views/templates/catalog/_catalogmenu.php(89)
077 <?php foreach ($catalogCategory->children as $menuItem): 078 if (in_array($menuItem->id, $existingCategories)) { 079 continue; 080 } 081 $active = ''; 082 if ($menuItem->catalogsale == $categoryID) { 083 $active = ' active'; 084 } 085 ?> 086 <li class="item<?php echo $active; ?>" data-id="<?php echo $menuItem->id; ?>" 087 data-alias="<?php echo $menuItem->alias; ?>" data-type="<?php echo $menuItem->type; ?>"> 088 <span><a 089 href="<?php echo Yii::app()->struct->currentCategory->createUrl() . '/index/' . $menuItem->id ?>"><?php echo $menuItem->title; ?></a> 090 </span> 091 <?php if ($menuItem->children): ?> 092 <ul style="display: block;"> 093 <?php foreach ($menuItem->children as $subMenuItem): 094 $categoryIDs = explode(',', $subMenuItem->catalogsale); 095 $var = array_intersect($categoryIDs, $existingCategories); 096 if ( ! $var) { 097 continue; 098 } 099 $active = ''; 100 if ($subMenuItem->catalogsale == $categoryID) { 101 $active = ' active';
#0 |
+
–
/var/www/lifedeco/data/www/yii/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/lifedeco/data/www/yii/web/CBaseController.php(95): CBaseController->renderInternal("/var/www/lifedeco/data/www/lifedeco.kz/protected/views/templates...", array("existingCategories" => array("702", "1", "18", "107", ...), "category" => StructCategory, "categoryID" => null), 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/lifedeco/data/www/yii/web/CController.php(869): CBaseController->renderFile("/var/www/lifedeco/data/www/lifedeco.kz/protected/views/templates...", array("existingCategories" => array("702", "1", "18", "107", ...), "category" => StructCategory, "categoryID" => null), true) 864 */ 865 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 866 { 867 if(($viewFile=$this->getViewFile($view))!==false) 868 { 869 $output=$this->renderFile($viewFile,$data,true); 870 if($processOutput) 871 $output=$this->processOutput($output); 872 if($return) 873 return $output; 874 else |
#3 |
+
–
/var/www/lifedeco/data/www/lifedeco.kz/protected/views/templates/catalog/template.php(186): CController->renderPartial("application.views.templates.catalog._catalogmenu", array("existingCategories" => array("702", "1", "18", "107", ...), "category" => StructCategory, "categoryID" => null)) 181 <!-- SIDEBAR --> 182 <div class="col-md-3 col-xs-3 hidden-sm"> 183 <?php 184 if (isset($existingCategories)) { 185 if ( ! isset($early)) { 186 echo $this->renderPartial('application.views.templates.catalog._catalogmenu', compact('existingCategories', 'category', 'categoryID')); 187 } else { 188 echo $this->renderPartial('application.views.templates.catalog._catalogmenu2', compact('existingCategories', 'category')); 189 } 190 } else { 191 $this->widget('application.modules.struct.StructMenu', array( |
#4 |
+
–
/var/www/lifedeco/data/www/lifedeco.kz/protected/views/category.php(45): include("/var/www/lifedeco/data/www/lifedeco.kz/protected/views/templates...") 40 $parent = $parent->parent; 41 } 42 } 43 44 // подгрузка шаблона 45 include '/'.Yii::app()->struct->getTemplatePath('category', $template); 46 47 |
#5 |
+
–
/var/www/lifedeco/data/www/yii/web/CBaseController.php(126): require("/var/www/lifedeco/data/www/lifedeco.kz/protected/views/category....") 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 } |
#6 |
+
–
/var/www/lifedeco/data/www/yii/web/CBaseController.php(95): CBaseController->renderInternal("/var/www/lifedeco/data/www/lifedeco.kz/protected/views/category....", array("categoryID" => null, "predzakaz" => 1, "category" => StructCategory, "existingCategories" => array("702", "1", "18", "107", ...), ...), 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); |
#7 |
+
–
/var/www/lifedeco/data/www/yii/web/CController.php(869): CBaseController->renderFile("/var/www/lifedeco/data/www/lifedeco.kz/protected/views/category....", array("categoryID" => null, "predzakaz" => 1, "category" => StructCategory, "existingCategories" => array("702", "1", "18", "107", ...), ...), true) 864 */ 865 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 866 { 867 if(($viewFile=$this->getViewFile($view))!==false) 868 { 869 $output=$this->renderFile($viewFile,$data,true); 870 if($processOutput) 871 $output=$this->processOutput($output); 872 if($return) 873 return $output; 874 else |
#8 |
+
–
/var/www/lifedeco/data/www/yii/web/CController.php(782): CController->renderPartial("/category", array("categoryID" => null, "predzakaz" => 1, "category" => StructCategory, "existingCategories" => array("702", "1", "18", "107", ...), ...), true) 777 */ 778 public function render($view,$data=null,$return=false) 779 { 780 if($this->beforeRender($view)) 781 { 782 $output=$this->renderPartial($view,$data,true); 783 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 784 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 785 786 $this->afterRender($view,$output); 787 |
#9 |
+
–
/var/www/lifedeco/data/www/lifedeco.kz/protected/extensions/extcore/ExtCoreController.php(227): CController->render("/category", array("categoryID" => null, "predzakaz" => 1, "category" => StructCategory, "existingCategories" => array("702", "1", "18", "107", ...), ...), false) 222 223 public function render($view, $data=null, $return=false) 224 { 225 if(Yii::app()->request->isAjaxRequest) 226 return $this->renderPartial($view, $data, $return); 227 else return parent::render($view, $data, $return); 228 } 229 230 /* 231 public function render($view, $data=null, $return=false) 232 { |
#10 |
+
–
/var/www/lifedeco/data/www/lifedeco.kz/protected/controllers/EarlybookingController.php(43): ExtCoreController->render("/category", array("categoryID" => null, "predzakaz" => 1, "category" => StructCategory, "existingCategories" => array("702", "1", "18", "107", ...), ...)) 38 'categoryID' => $categoryID, 39 'predzakaz' => 1, 40 'category' => $category, 41 'existingCategories' => $existingCategories, 42 'dataProvider' => Yii::app()->custom->getActiveDataProviderForCatalog($this->model, false), 43 'currentUrl' => $this->createUrl('index'), 44 )); 45 } 46 } |
#11 |
unknown(0): EarlybookingController->actionIndex(null, "5")
|
#12 |
+
–
/var/www/lifedeco/data/www/yii/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(EarlybookingController, array(null, "5")) 103 elseif($param->isDefaultValueAvailable()) 104 $ps[]=$param->getDefaultValue(); 105 else 106 return false; 107 } 108 $method->invokeArgs($object,$ps); 109 return true; 110 } 111 } |
#13 |
+
–
/var/www/lifedeco/data/www/yii/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(EarlybookingController, ReflectionMethod, array("page" => "5")) 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 } |
#14 |
+
–
/var/www/lifedeco/data/www/yii/web/CController.php(308): CInlineAction->runWithParams(array("page" => "5")) 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; |
#15 |
+
–
/var/www/lifedeco/data/www/yii/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(); |
#16 |
+
–
/var/www/lifedeco/data/www/yii/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); |
#17 |
+
–
/var/www/lifedeco/data/www/lifedeco.kz/protected/extensions/extcore/ExtCoreController.php(219): CController->run("index") 214 Yii::app()->raiseEvent('onBeginControllerAction', new CEvent($this)); 215 $this->lastActionID = $actionID; 216 217 //echo "ACTION RUN END ($actionID): " . round(microtime(1) - MICRO_TIME, 2) . "<br/>"; 218 219 parent::run($actionID); 220 Yii::app()->raiseEvent('onEndControllerAction', new CEvent($this)); 221 } 222 223 public function render($view, $data=null, $return=false) 224 { |
#18 |
+
–
/var/www/lifedeco/data/www/yii/web/CWebApplication.php(282): ExtCoreController->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))); |
#19 |
+
–
/var/www/lifedeco/data/www/yii/web/CWebApplication.php(141): CWebApplication->runController("earlybooking/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. |
#20 |
+
–
/var/www/lifedeco/data/www/yii/base/CApplication.php(180): CWebApplication->processRequest() 175 public function run() 176 { 177 if($this->hasEventHandler('onBeginRequest')) 178 $this->onBeginRequest(new CEvent($this)); 179 register_shutdown_function(array($this,'end'),0,false); 180 $this->processRequest(); 181 if($this->hasEventHandler('onEndRequest')) 182 $this->onEndRequest(new CEvent($this)); 183 } 184 185 /** |
#21 |
+
–
/var/www/lifedeco/data/www/lifedeco.kz/index.php(23): CApplication->run() 18 // specify how many levels of call stack should be shown in each log message 19 //defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 20 21 require_once($yii); 22 Yii::$classMap['ExtCoreWebApplication'] = "protected/extensions/extcore/ExtCoreWebApplication.php"; 23 Yii::createApplication('ExtCoreWebApplication', $config)->run(); 24 //Yii::createWebApplication($config)->run(); |