CHttpException

Некорректный запрос.

/var/local/yii1116/yiilite.php(4024)

4012     public function filterPostOnly($filterChain)
4013     {
4014         if(Yii::app()->getRequest()->getIsPostRequest())
4015             $filterChain->run();
4016         else
4017             throw new CHttpException(400,Yii::t('yii','Your request is invalid.'));
4018     }
4019     public function filterAjaxOnly($filterChain)
4020     {
4021         if(Yii::app()->getRequest()->getIsAjaxRequest())
4022             $filterChain->run();
4023         else
4024             throw new CHttpException(400,Yii::t('yii','Your request is invalid.'));
4025     }
4026     public function filterAccessControl($filterChain)
4027     {
4028         $filter=new CAccessControlFilter;
4029         $filter->setRules($this->accessRules());
4030         $filter->filter($filterChain);
4031     }
4032     public function getPageState($name,$defaultValue=null)
4033     {
4034         if($this->_pageStates===null)
4035             $this->_pageStates=$this->loadPageStates();
4036         return isset($this->_pageStates[$name])?$this->_pageStates[$name]:$defaultValue;

Stack Trace

#9
+
 /var/www/minreag/data/www/minreag.ru/index.php(48): CApplication->run()
43 
44 $config = dirname(__FILE__).'/protected/config/main.php';
45 
46 require_once($yii);
47 
48 Yii::createWebApplication($config)->run();
49 
50 ob_end_flush();
2024-03-28 22:49:44 Apache/2.4.54 (Debian) Yii Framework/1.1.16