/home/bakuguide/protected/views/events/view.php(7)
01 <?php 02 $applang = Yii::app()->language; 03 $events_base_title = Yii::t('translation', 'Afişalar '); 04 $event_page_title = $event -> title . ' | ' .$event -> category -> title .' | '. $events_base_title . ' | ' . Yii::app() -> name; 05 $events_base_url=Yii::app()->baseUrl.'/'.Yii::app()->language.'/'.Yii::t('translation','afisalar'); 06 $event_category = $event->category; 07 $event_category_url = $events_base_url.'/'.Utility::slugify($event_category->title.'-'.$event_category->id); 08 $event_url = $event_category_url.'/'.Utility::slugify($event->title.'-'.$event->id); 09 $this -> breadcrumbs = array( 10 $events_base_title => $events_base_url, 11 $event -> category -> title => $event_category_url, 12 $event->title 13 ); 14 15 $this -> pageTitle = $event_page_title; 16 $canonical = 'http://' . Yii::app() -> request -> getServerName() .Yii::app()->request->url; 17 Yii::app() -> params['canonical'] = $canonical; 18 19 // set facebook opengraph url
#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(58): CController->render() 53 { 54 $event = $this->loadModel($id); 55 $event -> seen ++; 56 $event -> update(); 57 $this->render('view',array( 58 'event'=> $event, 59 )); 60 } 61 62 /** 63 * Creates a new model. |
#5 |
unknown(0): EventsController->actionView()
|
#6 |
+
–
/home/yii/framework-1.1.28/yiilite.php(4231): ReflectionMethod->invokeArgs() 4226 elseif($param->isDefaultValueAvailable()) 4227 $ps[]=$param->getDefaultValue(); 4228 else 4229 return false; 4230 } 4231 $method->invokeArgs($object,$ps); 4232 return true; 4233 } 4234 } 4235 class CInlineAction extends CAction 4236 { |
#7 |
+
–
/home/yii/framework-1.1.28/yiilite.php(4248): CAction->runWithParamsInternal() 4243 { 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 |
#8 |
+
–
/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; |
#9 |
+
–
/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) |
#10 |
+
–
/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 { |
#11 |
+
–
/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(); |
#12 |
+
–
/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; |
#13 |
+
–
/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 } |
#14 |
+
–
/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 { |
#15 |
+
–
/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); |
#16 |
+
–
/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))); |
#17 |
+
–
/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( |
#18 |
+
–
/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 { |
#19 |
+
–
/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"); |