/home/bakuguide/protected/views/events/index.php(80)
68 'dataProvider'=>$dataProvider, 69 'itemView'=>'_view', 70 'summaryText'=>'', 71 'htmlOptions'=>array('class'=>''), 72 'template'=>'{pager}<p></p>{items}{pager}', 73 ));*/ ?> 74 <div class="post_content"> 75 <h2 class="page_title"><?= $translate_event ?></h2> 76 <hr class="horizontal_divider hr-yellow"> 77 <?php $all_event_categories = Eventscategory::model()->enabled()->findAll() ?> 78 <ul class="events_catg_list"> 79 <?php foreach($all_event_categories as $event_category): ?> 80 <?php $event_category_url = $events_base_url.'/'.Utility::slugify($event_category->title.'-'.$event_category->id) ?> 81 <li> 82 <a href="<?= $event_category_url ?>" title="<?= $event_category->title ?>"><?= $event_category->title ?></a> 83 </li> 84 <?php endforeach ?> 85 </ul> 86 <?php foreach($all_events_scopes as $scope => $title ): ?> 87 <?php $events_data = Events::model() 88 ->enabled() 89 ->$scope() 90 ->limit(8) 91 ->with('category') 92 ->findAll(array('condition'=>'category.enabled = 1')); ?>
#0 |
+
–
/home/yii/framework-1.1.28/yiilite.php(3598): require() 3593 $data=$_data_; 3594 if($_return_) 3595 { 3596 ob_start(); 3597 ob_implicit_flush(false); 3598 require($_viewFile_); 3599 return ob_get_clean(); 3600 } 3601 else 3602 require($_viewFile_); 3603 } |
#1 |
+
–
/home/yii/framework-1.1.28/yiilite.php(3577): CBaseController->renderInternal() 3572 { 3573 $widgetCount=count($this->_widgetStack); 3574 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 3575 $content=$renderer->renderFile($this,$viewFile,$data,$return); 3576 else 3577 $content=$this->renderInternal($viewFile,$data,$return); 3578 if(count($this->_widgetStack)===$widgetCount) 3579 return $content; 3580 else 3581 { 3582 $widget=end($this->_widgetStack); |
#2 |
+
–
/home/yii/framework-1.1.28/yiilite.php(4009): CBaseController->renderFile() 4004 } 4005 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 4006 { 4007 if(($viewFile=$this->getViewFile($view))!==false) 4008 { 4009 $output=$this->renderFile($viewFile,$data,true); 4010 if($processOutput) 4011 $output=$this->processOutput($output); 4012 if($return) 4013 return $output; 4014 else |
#3 |
+
–
/home/yii/framework-1.1.28/yiilite.php(3977): CController->renderPartial() 3972 } 3973 public function render($view,$data=null,$return=false) 3974 { 3975 if($this->beforeRender($view)) 3976 { 3977 $output=$this->renderPartial($view,$data,true); 3978 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 3979 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 3980 $this->afterRender($view,$output); 3981 $output=$this->processOutput($output); 3982 if($return) |
#4 |
+
–
/home/bakuguide/protected/controllers/EventsController.php(171): CController->render() 166 return Utility::slugify($title) == Yii::app()->request->getParam('type'); 167 }); 168 $all_events_scopes and $render = 'typed_events'; 169 } 170 $this->render($render ,array( 171 'all_events_scopes'=>$all_events_scopes, 172 )); 173 } 174 175 176 } |
#5 |
+
–
/home/yii/framework-1.1.28/yiilite.php(4249): EventsController->actionIndex() 4244 $methodName='action'.$this->getId(); 4245 $controller=$this->getController(); 4246 $method=new ReflectionMethod($controller, $methodName); 4247 if($method->getNumberOfParameters()>0) 4248 return $this->runWithParamsInternal($controller, $method, $params); 4249 $controller->$methodName(); 4250 return true; 4251 } 4252 } 4253 class CWebUser extends CApplicationComponent implements IWebUser 4254 { |
#6 |
+
–
/home/yii/framework-1.1.28/yiilite.php(3757): CInlineAction->runWithParams() 3752 { 3753 $priorAction=$this->_action; 3754 $this->_action=$action; 3755 if($this->beforeAction($action)) 3756 { 3757 if($action->runWithParams($this->getActionParams())===false) 3758 $this->invalidActionParams($action); 3759 else 3760 $this->afterAction($action); 3761 } 3762 $this->_action=$priorAction; |
#7 |
+
–
/home/yii/framework-1.1.28/yiilite.php(7127): CController->runAction() 7122 { 7123 $filter=$this->itemAt($this->filterIndex++); 7124 $filter->filter($this); 7125 } 7126 else 7127 $this->controller->runAction($this->action); 7128 } 7129 } 7130 class CFilter extends CComponent implements IFilter 7131 { 7132 public function filter($filterChain) |
#8 |
+
–
/home/yii/framework-1.1.28/yiilite.php(7136): CFilterChain->run() 7131 { 7132 public function filter($filterChain) 7133 { 7134 if($this->preFilter($filterChain)) 7135 { 7136 $filterChain->run(); 7137 $this->postFilter($filterChain); 7138 } 7139 } 7140 public function init() 7141 { |
#9 |
+
–
/home/yii/framework-1.1.28/yiilite.php(4135): CFilter->filter() 4130 } 4131 public function filterAccessControl($filterChain) 4132 { 4133 $filter=new CAccessControlFilter; 4134 $filter->setRules($this->accessRules()); 4135 $filter->filter($filterChain); 4136 } 4137 public function getPageState($name,$defaultValue=null) 4138 { 4139 if($this->_pageStates===null) 4140 $this->_pageStates=$this->loadPageStates(); |
#10 |
+
–
/home/yii/framework-1.1.28/yiilite.php(7169): CController->filterAccessControl() 7164 array('{filter}'=>$filterName, '{class}'=>get_class($controller)))); 7165 } 7166 public function filter($filterChain) 7167 { 7168 $method='filter'.$this->name; 7169 $filterChain->controller->$method($filterChain); 7170 } 7171 } 7172 class CAccessControlFilter extends CFilter 7173 { 7174 public $message; |
#11 |
+
–
/home/yii/framework-1.1.28/yiilite.php(7124): CInlineFilter->filter() 7119 public function run() 7120 { 7121 if($this->offsetExists($this->filterIndex)) 7122 { 7123 $filter=$this->itemAt($this->filterIndex++); 7124 $filter->filter($this); 7125 } 7126 else 7127 $this->controller->runAction($this->action); 7128 } 7129 } |
#12 |
+
–
/home/yii/framework-1.1.28/yiilite.php(3747): CFilterChain->run() 3742 $this->runAction($action); 3743 else 3744 { 3745 $priorAction=$this->_action; 3746 $this->_action=$action; 3747 CFilterChain::create($this,$action,$filters)->run(); 3748 $this->_action=$priorAction; 3749 } 3750 } 3751 public function runAction($action) 3752 { |
#13 |
+
–
/home/yii/framework-1.1.28/yiilite.php(3732): CController->runActionWithFilters() 3727 { 3728 if(($parent=$this->getModule())===null) 3729 $parent=Yii::app(); 3730 if($parent->beforeControllerAction($this,$action)) 3731 { 3732 $this->runActionWithFilters($action,$this->filters()); 3733 $parent->afterControllerAction($this,$action); 3734 } 3735 } 3736 else 3737 $this->missingAction($actionID); |
#14 |
+
–
/home/yii/framework-1.1.28/yiilite.php(1797): CController->run() 1792 { 1793 list($controller,$actionID)=$ca; 1794 $oldController=$this->_controller; 1795 $this->_controller=$controller; 1796 $controller->init(); 1797 $controller->run($actionID); 1798 $this->_controller=$oldController; 1799 } 1800 else 1801 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 1802 array('{route}'=>$route===''?$this->defaultController:$route))); |
#15 |
+
–
/home/yii/framework-1.1.28/yiilite.php(1717): CWebApplication->runController() 1712 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 1713 $_GET[$name]=$value; 1714 } 1715 else 1716 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 1717 $this->runController($route); 1718 } 1719 protected function registerCoreComponents() 1720 { 1721 parent::registerCoreComponents(); 1722 $components=array( |
#16 |
+
–
/home/yii/framework-1.1.28/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 { |
#17 |
+
–
/home/bakuguide/public_html/index.php(21): CApplication->run() 16 defined('YII_DEBUG') or define('YII_DEBUG',true); 17 // specify how many levels of call stack should be shown in each log message 18 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 19 20 require_once($yii); 21 Yii::createWebApplication($config)->run(); 22 //} 23 //else 24 // header("Location: https://www.facebook.com/bakuguidecom"); |