/var/www/vhosts/projeaktif.com.tr/public_html/protected/modules/urun/controllers/front/DefaultController.php(151)
139 $new_array = array("success"=>$success,"total"=>$total,"items"=>array()); 140 foreach($work as $item){ 141 $new_array["items"][] = array("title"=> $item->title,"body"=>$item->body,"image"=>$item->image); 142 } 143 echo json_encode($new_array); 144 145 } 146 147 function actionShow($id) { 148 149 150 $urun = Urun::model()->findByAttributes(array('slug' => $id)); 151 $projeler = Urun::model()->findAllByAttributes(array('category_id' => $urun->category_id)); 152 153 $this->pageTitle = $urun->title; 154 if(!empty($urun->category->parent->parent->parent->title)) { $this->breadcrumbs[$urun->category->parent->parent->parent->title] = '/projeler/kategori/'.$urun->category->parent->parent->parent->slug; }; 155 if(!empty($urun->category->parent->parent->title)) { $this->breadcrumbs[$urun->category->parent->parent->title] = '/projeler/kategori/'.$urun->category->parent->parent->slug; }; 156 if(!empty($urun->category->parent->title)) { $this->breadcrumbs[$urun->category->parent->title] = '/projeler/kategori/'.$urun->category->parent->slug;}; 157 $this->breadcrumbs[$urun->category->title] = '/projeler/kategori/'.$urun->category->slug; 158 $this->breadcrumbs[$urun->title] = $urun->slug; 159 160 if(!$urun) 161 throw new CHttpException(404,'Yazı Bulunamadı'); 162 $this->render('show', array( 163 'post' => $urun,
#0 |
unknown(0): DefaultController->actionShow("kutahya-belediyesi-yeni-hizmet-binasi-konferans-ve-meclis-salonu")
|
#1 |
+
–
/var/www/vhosts/projeaktif.com.tr/public_html/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(DefaultController, array("kutahya-belediyesi-yeni-hizmet-binasi-konferans-ve-meclis-salonu")) 103 elseif($param->isDefaultValueAvailable()) 104 $ps[]=$param->getDefaultValue(); 105 else 106 return false; 107 } 108 $method->invokeArgs($object,$ps); 109 return true; 110 } 111 } |
#2 |
+
–
/var/www/vhosts/projeaktif.com.tr/public_html/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(DefaultController, ReflectionMethod, array("id" => "kutahya-belediyesi-yeni-hizmet-binasi-konferans-ve-meclis-salonu")) 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 } |
#3 |
+
–
/var/www/vhosts/projeaktif.com.tr/public_html/framework/web/CController.php(308): CInlineAction->runWithParams(array("id" => "kutahya-belediyesi-yeni-hizmet-binasi-konferans-ve-meclis-salonu")) 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; |
#4 |
+
–
/var/www/vhosts/projeaktif.com.tr/public_html/framework/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(); |
#5 |
+
–
/var/www/vhosts/projeaktif.com.tr/public_html/framework/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); |
#6 |
+
–
/var/www/vhosts/projeaktif.com.tr/public_html/framework/web/CWebApplication.php(282): CController->run("show") 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))); |
#7 |
+
–
/var/www/vhosts/projeaktif.com.tr/public_html/framework/web/CWebApplication.php(141): CWebApplication->runController("urun/default/show/id/kutahya-belediyesi-yeni-hizmet-binasi-konfe...") 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. |
#8 |
+
–
/var/www/vhosts/projeaktif.com.tr/public_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 /** |
#9 |
+
–
/var/www/vhosts/projeaktif.com.tr/public_html/protected/components/WebApplicationEndBehavior.php(32): CApplication->run() 27 // Attach the changeModulePaths event handler 28 // and raise it. 29 $this->onModuleCreate = array($this, 'changeModulePaths'); 30 $this->onModuleCreate(new CEvent($this->owner)); 31 32 $this->owner->run(); // Run application. 33 } 34 35 // This event should be raised when CWebApplication 36 // or CWebModule instances are being initialized. 37 public function onModuleCreate($event) |
#10 |
+
–
/var/www/vhosts/projeaktif.com.tr/public_html/framework/base/CComponent.php(260): WebApplicationEndBehavior->runEnd("front") 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}".', |
#11 |
+
–
/var/www/vhosts/projeaktif.com.tr/public_html/index.php(29): CComponent->__call("runEnd", array("front")) 24 } 25 26 } 27 28 $app = new WeberWebApp($config); 29 $app->runEnd('front'); 30 |