CException

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

/home/w/webarena9a/kastro.group/public_html/framework/web/CController.php(878)

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

Stack Trace

#0
+
 /home/w/webarena9a/kastro.group/public_html/protected/components/Controller.php(366): CController->renderPartial("view", array("model" => Menu), true)
361     }
362 
363     public function render($view,$data=null,$return=false) {
364         if($this->beforeRender($view))
365         {
366             $output=$this->renderPartial($view,$data,true);
367             if(($layoutFile=$this->getLayoutFile($this->layout))!==false) {
368                 $output=$this->renderFile($layoutFile,array('content'=>$output),true);
369             }
370             $this->afterRender($view,$output);
371             $output=$this->processOutput($output);
#1
+
 /home/w/webarena9a/kastro.group/public_html/protected/modules/menumanager/controllers/MainController.php(68): Controller->render("view", array("model" => Menu))
63 
64         if($model){
65             if(Yii::app()->request->getParam('is_ajax')){
66                 $this->renderPartial('view', array('model' => $model), false, true);
67             }else{
68                 $this->render('view', array('model' => $model));
69             }
70         } else {
71             Yii::app()->user->setFlash('error', tc('Page not found.'));
72             $this->redirect(array('/site/index'));
73         }
#20
+
 /home/w/webarena9a/kastro.group/public_html/index.php(26): CApplication->run()
21 
22 define('ALREADY_INSTALL_FILE', ROOT_PATH . DIRECTORY_SEPARATOR . 'protected' . DIRECTORY_SEPARATOR
23                                 . 'runtime' . DIRECTORY_SEPARATOR . 'already_install');
24 
25 require_once($yii);
26 Yii::createWebApplication($config)->run();
2024-03-19 11:13:32 Apache/2.4.55 (Unix) Yii Framework/1.1.17