CHttpException

La pagina non esiste

/var/www/vhosts/h496383.linp034.arubabusiness.it/erreciauto.it/protected/controllers/SiteController.php(69)

57                 echo $error['message'];
58             else
59                 $this->render('error', $error);
60         }
61     }
62 
63 
64     public function actionScheda($id) {
65 
66         $auto = Auto::model()->findbyPk($id);
67 
68         if (!$auto)
69             throw new CHttpException(404, 'La pagina non esiste');
70 
71         $title = $auto->marca . ' ' . $auto->modello.' - Erreci Auto S.r.l.';
72         $desc = $auto->Descrizione;
73 
74         Yii::app()->clientScript->registerMetaTag(Yii::t('string', $title), 'title');
75         Yii::app()->clientScript->registerMetaTag(Yii::t('string', $title), null, null, array('property' => 'og:title'));
76         $this->pageTitle = Yii::t('string', $title);
77 
78         Yii::app()->clientScript->registerMetaTag(Yii::t('string', $desc), 'description');
79         Yii::app()->clientScript->registerMetaTag(Yii::t('string', $desc), null, null, array('property' => 'og:description'));
80 
81         $photos = $auto->getPhotos($auto->id);

Stack Trace

#9
+
 /var/www/vhosts/h496383.linp034.arubabusiness.it/erreciauto.it/index.php(15): CApplication->run()
10 defined('YII_DEBUG') or define('YII_DEBUG',true);
11 // specify how many levels of call stack should be shown in each log message
12 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
13 
14 require_once($yii);
15 Yii::createWebApplication($config)->run();
2024-03-29 00:57:41 Apache Yii Framework/1.1.17