CHttpException

صفحه در خواستی شما وجود ندارد.

/var/www/vhosts/itcen.ir/httpdocs/public/protected/modules/content/controllers/Content_defaultController.php(483)

471         $model = ContentContents::model()->find($criteria);
472 
473         $criteria =new CDbCriteria;
474         $criteria->select='language.*';
475         $criteria->with = array('language');
476         $criteria->condition = 't.samelang=:samelang ';
477         $criteria->params = array(':samelang'=>$id);
478 
479          $langs = ContentContents::model()->cache(3600*24*10, $dependency)->findAll($criteria);
480 
481 //
482         if ($model===null) {
483             throw new CHttpException(404, 'صفحه در خواستی شما وجود ندارد.');
484         }
485         if (($model->publish_time<date("Y-m-d H:i:s"))&&($model->status_id==1)&&($model->del_flag==1)) {
486             if ($model->visibility_id==1) {
487                 $this->show_content($model, $langs, $lang);
488             } elseif ($model->visibility_id==2) {
489                 $this->show_get_password_content($model);
490             } elseif ($model->visibility_id==3) {
491                 if (Yii::app()->user->isGuest) {//die($lang.'help');
492                     throw new CHttpException(404, 'صفحه در خواستی شما وجود ندارد.');
493                 } else {
494                     $this->show_content($model, $langs, $lang);
495                 }

Stack Trace

#9
+
 /var/www/vhosts/itcen.ir/httpdocs/public/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 Yii::createWebApplication($config)->run();
2024-03-28 20:22:10 Apache Yii Framework/1.1.20