CHttpException

This webpage is not available right now.

/home/spaceidea2/public_html/protected/controllers/ProductsController.php(635)

623     }
624 
625     /*     * *********************************************************************** */
626 
627     ////////////////////////////////////////////////////////////////////////////
628     ////////////////////////////////////////////////////////////////////////////
629     //=============================  CUSTOMIZE ===============================//
630     ////////////////////////////////////////////////////////////////////////////
631     ////////////////////////////////////////////////////////////////////////////
632     ////////////////////////////////////////////////////////////////////////
633     public function actionCustomize()
634     {
635         throw new CHttpException(404, 'This webpage is not available right now.');
636         $criteria = new CDbCriteria();
637         $criteria->condition = "main_category_is_active = 1";
638         $mainCategories = CustomProductMainCategory::model()->findAll($criteria);
639         $meta = SiteMeta::model()->findByPk(SiteMeta::PRODUCTS);
640         $params = array('mainCategories' => $mainCategories);
641         if (Yii::app()->session['_lang'] == 'en')
642         {
643             $this->layout = 'webroot.themes.theme_en.views.layouts.customize';
644             Yii::app()->clientScript->registerMetaTag($meta->meta_keywords, 'keywords');
645             Yii::app()->clientScript->registerMetaTag($meta->meta_description, 'description');
646             $this->setPageTitle($meta->meta_title);
647             $this->render('webroot.themes.theme_en.views.products.customize', $params);

Stack Trace

#7
+
 /home/spaceidea2/public_html/index.php(14): CApplication->run()
09   defined('YII_DEBUG') or define('YII_DEBUG',true);
10 // specify how many levels of call stack should be shown in each log message
11   defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
12  error_reporting(0);
13 require_once($yii);
14 Yii::createWebApplication($config)->run();
2024-03-19 11:48:07 Apache Yii Framework/1.1.26