CHttpException

Proje Bulunamadı

/var/www/vhosts/prestijaltyapi.com/public_html/protected/modules/projeler/controllers/front/DefaultController.php(73)

61             'cid' => $cat->id,
62             'cat' => $cat
63         ));
64 
65     }
66 
67     function actionShow($id) {
68         
69         $others = Projeler::model()->findAll(array('limit'=>10,'order'=> 't.order desc'));
70 
71         $item = Projeler::model()->findByAttributes(array('slug' => $id));
72         if(!$item)
73             throw new CHttpException('404',Yii::t('projelerModule.front','404text'));
74 
75         $this->pageTitle =$item->title;
76 
77         $item->counter = $item->counter +1;
78         $item->save();
79 
80         $this->breadcrumbs[Yii::t('projelerModule.front','moduletitle')] = Yii::app()->baseUrl . '/projeler';
81         $this->breadcrumbs[$item->title] = Yii::app()->baseUrl . '/projeler/'.$item->slug;
82 
83         $this->render('show', array(
84             'item' => $item,
85             'others' => $others

Stack Trace

#9
+
 /var/www/vhosts/prestijaltyapi.com/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)
#11
+
 /var/www/vhosts/prestijaltyapi.com/public_html/index.php(22): CComponent->__call("runEnd", array("front"))
17         return parent::init();
18     }
19 }
20 
21 $app = new kraftCMS($config);
22 $app->runEnd('front');
23 
2024-03-29 07:35:18 Apache Yii Framework/1.1.20