CHttpException

This webpage is not available right now.

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

690         {
691             $this->layout = 'webroot.themes.theme_ar.views.layouts.customize';
692             Yii::app()->clientScript->registerMetaTag($meta->meta_keywords_lg2, 'keywords');
693             Yii::app()->clientScript->registerMetaTag($meta->meta_description_lg2, 'description');
694             $this->setPageTitle($meta->meta_title_lg2);
695             $this->render('webroot.themes.theme_ar.views.products.category', $params);
696         }
697     }
698 
699     public function actionCustomDetails($id)
700     {
701         /* @var $product CustomProduct */
702         throw new CHttpException(404, 'This webpage is not available right now.');
703         $customerId = Yii::app()->session['space_client_id'];
704         $product = CustomProduct::model()->findByPk($id);
705         $fontStyles = CustomProductFont::model()->findAll('font_text_position = "main"');
706         $fontStyles2 = CustomProductFont::model()->findAll('font_text_position = "sub"');
707         $availableTypes = ProductInternalType::model()->with('customProductStocks')->findAll('customProductStocks.product_id = :PID', array('PID' => $id));
708         $availableColors = ProductColor::model()->with('customProductStocks')->findAll('customProductStocks.product_id = :PID', array('PID' => $id));
709         $scenario = "names";
710         if ($product->subCategory->main_category_id == CustomProductMainCategory::PHOTOS)
711         {
712             $scenario = "photos";
713             if ($product->product_number_of_photos == 2)
714             {

Stack Trace

#9
+
 /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 06:12:11 Apache Yii Framework/1.1.26