CHttpException

The requested page does not exist.

/mt/xvda4/u_f_history/historiography/www/protected/modules/staticPages/controllers/DefaultController.php(53)

41      * @param integer $id the ID of the model to be displayed
42      */
43     public function actionView($url_name)
44     {            
45         $this->layout = '//layouts/two_columns';
46 
47         $model = StaticPages::model()->find(array(
48             'condition' => '`url_name` = :url_name AND `language` = :language',
49             'params' => array(':url_name'=>$url_name, ':language'=>Yii::app()->language)
50         ));
51 
52         if ($model == NULL)
53             throw new CHttpException(404,'The requested page does not exist.');
54 
55         $this->render('view',array(
56             'model'=>$model,
57         ));
58     }
59 
60     /**
61      * Creates a new model.
62      * If creation is successful, the browser will be redirected to the 'view' page.
63      */
64     public function actionCreate()
65     {

Stack Trace

#14
+
 /mt/xvda4/u_f_history/historiography/www/index.php(13): CApplication->run()
08 defined('YII_DEBUG') or define('YII_DEBUG',true);
09 // specify how many levels of call stack should be shown in each log message
10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
11 
12 require_once($yii);
13 $app = Yii::createWebApplication($config)->run();
2024-03-28 10:42:59 Apache Yii Framework/1.1.17