CHttpException

La pagina richiesta non esiste.

/home/giordanojolly/public_html/protected/controllers/SiteController.php(794)

782                 }
783             }
784 
785             // old brand url
786             if (preg_match("/-mar-([0-9]+)$/", $slug, $output)) {
787                 $idmarchio = $output[1];
788                 $brand = Marca::model()->findByPk($idmarchio);
789                 if ($brand) {
790                     $this->redirect(array('site/brand', 'slug' => $brand->slug), true, 301);
791                 }
792             }
793 
794             throw new CHttpException(404, 'La pagina richiesta non esiste.');
795             die;
796         }
797     }
798 
799     public function actionSearch()
800     {
801 
802         $q = trim($_GET['q']);
803 
804         $pageSize =  (Yii::app()->request->getQuery('pageSize')) ?  (int) Yii::app()->request->getQuery('pageSize') : LISTVIEW_PAGESIZE;
805         $sortField =  (Yii::app()->request->getQuery('sortField')) ?  Yii::app()->request->getQuery('sortField') : LISTVIEW_SORTFIELD;
806         $sortDirection =  (Yii::app()->request->getQuery('sortDirection')) ?  Yii::app()->request->getQuery('sortDirection') : LISTVIEW_SORTDIRECTION;

Stack Trace

#9
+
 /home/giordanojolly/public_html/index.php(36): CApplication->run()
31 // defined('YII_DEBUG') or define('YII_DEBUG', true);
32 // specify how many levels of call stack should be shown in each log message
33 // defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3);
34 
35 require_once($yii);
36 Yii::createWebApplication($config)->run();
2024-03-28 22:42:39 Apache Yii Framework/1.1.27