/home/u439419125/domains/events.az/private_html/conf/common/models/Events.php(820)
808 809 return $this; 810 } 811 812 public function getSlug() 813 { 814 return ( !empty($this->{'slug_'.Yii::app()->language}) ) ? $this->{'slug_'.Yii::app()->language} : $this->{'title_'.Yii::app()->language}; 815 } 816 817 public function getColor($index = 0) 818 { 819 $colors = $this->colors; 820 return $colors[$index][rand(0, count($colors[$index]) - 1)]; 821 } 822 823 public function getFullDate($time = 'start_time') 824 { 825 $day = date('d', $this->$time); 826 $month = Yii::app()->MY->getMonthNameForLang( date('m', $this->$time) ); 827 $year = date('Y', $this->$time); 828 $week = date('w', $this->$time); 829 830 return $day.' '.$month.' '.$year.', '.Yii::t('main', 'week0'.$week); 831 } 832
#0 |
+
–
/home/u439419125/domains/events.az/private_html/conf/common/widgets/views/placesgelecekevents.php(7): Events->getColor(20) 02 <!-- New-event start --> 03 <section id="new-events"> 04 <div class="container"> 05 <div class="count-desc"> 06 <?php foreach( $model as $i=>$e ): $file = $e->eventsFiles(array('limit'=>1, 'order'=>'id DESC', 'scopes'=>'images')); if(count($file)): ?> 07 <?php $bgColor = $e->getColor($i); ?> 08 <div class="col-lg-2 col-md-2 col-sm-2 col-xs-12"> 09 <div class="new-e"> 10 <a href="<?=Yii::app()->createUrl('events/'.$e->id, array('slug'=>$e->getSlug()))?>"> 11 <img src="<?=$file[0]->getImageUrl('main')?>"> 12 <div class="new-title"> |
#1 |
+
–
/home/u439419125/domains/events.az/private_html/framework/web/CBaseController.php(130): require("/home/u439419125/domains/events.az/private_html/conf/common/widg...") 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } 132 133 /** 134 * Creates a widget and initializes it. 135 * This method first creates the specified widget instance. |
#2 |
+
–
/home/u439419125/domains/events.az/private_html/framework/web/CBaseController.php(95): CBaseController->renderInternal("/home/u439419125/domains/events.az/private_html/conf/common/widg...", array("model" => array(Events, Events, Events, Events, ...), "title" => false), false) 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); |
#3 |
+
–
/home/u439419125/domains/events.az/private_html/framework/web/widgets/CWidget.php(243): CBaseController->renderFile("/home/u439419125/domains/events.az/private_html/conf/common/widg...", array("model" => array(Events, Events, Events, Events, ...), "title" => false), false) 238 * @see getViewFile 239 */ 240 public function render($view,$data=null,$return=false) 241 { 242 if(($viewFile=$this->getViewFile($view))!==false) 243 return $this->renderFile($viewFile,$data,$return); 244 else 245 throw new CException(Yii::t('yii','{widget} cannot find the view "{view}".', 246 array('{widget}'=>get_class($this), '{view}'=>$view))); 247 } 248 } |
#4 |
+
–
/home/u439419125/domains/events.az/private_html/conf/common/widgets/PlacesGelecekEvents.php(22): CWidget->render("placesgelecekevents", array("model" => array(Events, Events, Events, Events, ...), "title" => false)) 17 $model = $this->model; 18 19 $this->render($this->renderFile, array( 20 'model'=>$model, 21 'title'=>( is_null($this->model) ) ? true : false 22 )); 23 } 24 } 25 26 ?> |
#5 |
+
–
/home/u439419125/domains/events.az/private_html/framework/web/CBaseController.php(173): PlacesGelecekEvents->run() 168 return ob_get_clean(); 169 } 170 else 171 { 172 $widget=$this->createWidget($className,$properties); 173 $widget->run(); 174 return $widget; 175 } 176 } 177 178 /** |
#6 |
+
–
/home/u439419125/domains/events.az/private_html/conf/frontend/protected/views/site/more/mplaces.php(87): CBaseController->widget("common.widgets.PlacesGelecekEvents", array("model" => array(Events, Events, Events, Events, ...))) 82 <div class="col-md-12"> 83 <div class="tab-content" id="new-events"> 84 <section class="tab-pane fade in active" id="yaxin"> 85 <div class="count-desc"> 86 <?php if( count($events) > 0 ): ?> 87 <?php $this->widget('common.widgets.PlacesGelecekEvents', array('model'=>$events)); ?> 88 <?php endif; ?> 89 </div> 90 </section> 91 <? /* 92 <section class="tab-pane fade" id="pulsuz"> |
#7 |
+
–
/home/u439419125/domains/events.az/private_html/framework/web/CBaseController.php(126): require("/home/u439419125/domains/events.az/private_html/conf/frontend/pr...") 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 } |
#8 |
+
–
/home/u439419125/domains/events.az/private_html/framework/web/CBaseController.php(95): CBaseController->renderInternal("/home/u439419125/domains/events.az/private_html/conf/frontend/pr...", array("model" => EventsPlaces, "contacts" => array(EventsPlacesContacts), "events" => array(Events, Events, Events, Events, ...)), 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); |
#9 |
+
–
/home/u439419125/domains/events.az/private_html/framework/web/CController.php(869): CBaseController->renderFile("/home/u439419125/domains/events.az/private_html/conf/frontend/pr...", array("model" => EventsPlaces, "contacts" => array(EventsPlacesContacts), "events" => array(Events, Events, Events, Events, ...)), 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 |
#10 |
+
–
/home/u439419125/domains/events.az/private_html/framework/web/CController.php(782): CController->renderPartial("more/mplaces", array("model" => EventsPlaces, "contacts" => array(EventsPlacesContacts), "events" => array(Events, Events, Events, Events, ...)), 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 |
#11 |
+
–
/home/u439419125/domains/events.az/private_html/conf/frontend/protected/controllers/SiteController.php(445): CController->render("more/mplaces", array("model" => EventsPlaces, "contacts" => array(EventsPlacesContacts), "events" => array(Events, Events, Events, Events, ...))) 440 441 $this->render('more/mplaces', array( 442 'model'=>$model, 443 'contacts'=>$model->eventsPlacesContacts(array('condition'=>'active = 1')), 444 'events'=>$events, 445 )); 446 447 } 448 449 public function actionMplacesnew($id) 450 { |
#12 |
unknown(0): SiteController->actionMplaces("100122")
|
#13 |
+
–
/home/u439419125/domains/events.az/private_html/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(SiteController, array("100122")) 103 elseif($param->isDefaultValueAvailable()) 104 $ps[]=$param->getDefaultValue(); 105 else 106 return false; 107 } 108 $method->invokeArgs($object,$ps); 109 return true; 110 } 111 } |
#14 |
+
–
/home/u439419125/domains/events.az/private_html/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(SiteController, ReflectionMethod, array("lang" => "en", "id" => "100122", "slug" => "Af-Business-House")) 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 } |
#15 |
+
–
/home/u439419125/domains/events.az/private_html/framework/web/CController.php(308): CInlineAction->runWithParams(array("lang" => "en", "id" => "100122", "slug" => "Af-Business-House")) 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; |
#16 |
+
–
/home/u439419125/domains/events.az/private_html/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 } |
#17 |
+
–
/home/u439419125/domains/events.az/private_html/framework/web/CController.php(291): CFilterChain->run() 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); 292 $this->_action=$priorAction; 293 } 294 } 295 296 /** |
#18 |
+
–
/home/u439419125/domains/events.az/private_html/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array("postOnly + getEvents, search")) 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); |
#19 |
+
–
/home/u439419125/domains/events.az/private_html/framework/web/CWebApplication.php(282): CController->run("mplaces") 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))); |
#20 |
+
–
/home/u439419125/domains/events.az/private_html/framework/web/CWebApplication.php(141): CWebApplication->runController("site/mplaces") 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. |
#21 |
+
–
/home/u439419125/domains/events.az/private_html/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 /** |
#22 |
+
–
/home/u439419125/domains/events.az/private_html/conf/common/behaviors/WebApplicationTypeBehavior.php(19): CApplication->run() 14 $this->_endName = $name; 15 16 $this->onModuleCreate = array($this, 'changeModulePaths'); 17 $this->onModuleCreate(new CEvent ($this->owner)); 18 19 $this->owner->run(); 20 } 21 22 public function onModuleCreate($event) 23 { 24 $this->raiseEvent('onModuleCreate', $event); |
#23 |
unknown(0): WebApplicationTypeBehavior->runEnd("frontend")
|
#24 |
+
–
/home/u439419125/domains/events.az/private_html/framework/base/CComponent.php(260): call_user_func_array(array(WebApplicationTypeBehavior, "runEnd"), array("frontend")) 255 if($this->_m!==null) 256 { 257 foreach($this->_m as $object) 258 { 259 if($object->getEnabled() && method_exists($object,$name)) 260 return call_user_func_array(array($object,$name),$parameters); 261 } 262 } 263 if(class_exists('Closure', false) && $this->canGetProperty($name) && $this->$name instanceof Closure) 264 return call_user_func_array($this->$name, $parameters); 265 throw new CException(Yii::t('yii','{class} and its behaviors do not have a method or closure named "{name}".', |
#25 |
+
–
/home/u439419125/domains/events.az/public_html/index.php(31): CComponent->__call("runEnd", array("frontend")) 26 define('EVENTSPLACESFILES', FILES.'eventsPlaces/', true); 27 define('EVENTSFILES', FILES.'events/', true); 28 define('DOWNLOADPATH', FILES.'download/', true); 29 30 require_once($yii); 31 Yii::createWebApplication($config)->runEnd('frontend'); |
#26 |
+
–
/home/u439419125/domains/events.az/public_html/index.php(31): CWebApplication->runEnd("frontend") 26 define('EVENTSPLACESFILES', FILES.'eventsPlaces/', true); 27 define('EVENTSFILES', FILES.'events/', true); 28 define('DOWNLOADPATH', FILES.'download/', true); 29 30 require_once($yii); 31 Yii::createWebApplication($config)->runEnd('frontend'); |