CHttpException

Ürün Bulunamadı

/home/gemakcom/public_html/protected/modules/urunler/controllers/front/DefaultController.php(88)

076             'cid' => $cat->id,
077             'cat' => $cat
078         ));
079 
080     }
081 
082     function actionShow($id) {
083         $this->layout="//layouts/fullwidth";
084         $others = Urunler::model()->findAll(array('limit'=>10,'order'=>'t.order asc'));
085 
086         $item = Urunler::model()->findByAttributes(array('id' => $id));
087         if(!$item)
088             throw new CHttpException('404',Yii::t('urunlerModule.front','404text'));
089 
090         $this->pageTitle =$item->title;
091 
092         $item->counter = $item->counter +1;
093         $item->save();
094 
095         $this->breadcrumbs[Yii::t('urunlerModule.front','moduletitle')] = Yii::app()->baseUrl . '/urunler';
096         $this->breadcrumbs[$item->title] = Yii::app()->baseUrl . '/urunler/'.$item->slug;
097         $this->pageDescription = $item->description;
098 
099         $this->render('show', array(
100             'item' => $item,

Stack Trace

#9
+
 /home/gemakcom/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
+
 /home/gemakcom/public_html/index.php(21): CComponent->__call("runEnd", array("front"))
16 }
17 return parent::init();
18 }
19 }
20 $app = new kraftCMS($config);
21 $app->runEnd('front');
2024-03-28 21:38:36 LiteSpeed Yii Framework/1.1.20