CHttpException

Ürün Bulunamadı

/home/justcom/public_html/protected/modules/urunler/controllers/front/DefaultController.php(158)

146                     'category' => $cat,
147                     'slug'=>$slug,
148                     'test'=>$test,
149                 ));
150 
151             }
152 
153             function actionShow($id) {
154                 $catArr = array();
155                 $others = Urunler::model()->findAll(array('limit'=>10,'order'=>'t.order asc'));
156                 $item = Urunler::model()->findByAttributes(array('slug' => $id));
157                 if(!$item)
158                     throw new CHttpException('404',Yii::t('urunlerModule.front','404text'));
159 
160                 $this->pageTitle =$item->getTitle();
161 
162 
163                 Yii::import('dosyalar.models.*');
164                 $dosyalar = Dosyalar::model()->findAllByAttributes(array('product_id'=>$item->id));
165 
166                 $item->counter = $item->counter +1;
167                 $item->save();
168                 $cat = UrunKategori::model()->findByAttributes(array('id'=>$item->category_id));
169 
170                 $this->breadcrumbs[Yii::t('urunlerModule.front','moduletitle')] = Yii::app()->baseUrl . '/urunler';

Stack Trace

#9
+
–
 /home/justcom/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/justcom/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 
2026-10-17 03:22:56 LiteSpeed Yii Framework/1.1.20