CException

Контроллер ActionController не может найти представление "view".

/var/www/vhosts/vsaunu.ru_https/framework/web/CController.php(879)

867     {
868         if(($viewFile=$this->getViewFile($view))!==false)
869         {
870             $output=$this->renderFile($viewFile,$data,true);
871             if($processOutput)
872                 $output=$this->processOutput($output);
873             if($return)
874                 return $output;
875             else
876                 echo $output;
877         }
878         else
879             throw new CException(Yii::t('yii','{controller} cannot find the requested view "{view}".',
880                 array('{controller}'=>get_class($this), '{view}'=>$view)));
881     }
882 
883     /**
884      * Renders a named clip with the supplied parameters.
885      * This is similar to directly accessing the {@link clips} property.
886      * The main difference is that it can take an array of named parameters
887      * which will replace the corresponding placeholders in the clip.
888      * @param string $name the name of the clip
889      * @param array $params an array of named parameters (name=>value) that should replace
890      * their corresponding placeholders in the clip
891      * @param boolean $return whether to return the clip content or echo it.

Stack Trace

#1
+
 /var/www/vhosts/vsaunu.ru_https/protected/controllers/ActionController.php(181): CController->render("view", array("action" => Action, "firms" => array(), "city" => City))
176         $city = City::model()->getCurrent();
177 
178         $this->render('view',array(
179             'action'=>$action,
180             'firms'=>$firms,
181             'city'=>$city,
182         ));
183     }
184 
185     /**
186      * показать RSS для всего сайта
#16
+
 /var/www/vhosts/vsaunu.ru_https/www/index.php(22): CApplication->run()
17 
18 //define('YII_ENABLE_ERROR_HANDLER',true);
19 //define('YII_ENABLE_EXCEPTION_HANDLER',true);
20 
21 require_once($yii);
22 Yii::createWebApplication($config)->run();
2024-03-28 22:03:56 nginx/1.15.5 Yii Framework/1.1.12