CException

Контроллер PagesController не может найти представление "templates/novye_sistemy_konsultantplyus".

/var/www/hosts/framework/web/CController.php(883)

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

Stack Trace

#0
+
 /var/www/hosts/lk.usoft.ru/protected/modules/navigator/controllers/PagesController.php(76): CController->renderPartial()
71     public function actionTemplated($view)
72     {
73         $page = $this->prepare();
74 
75         if ($view) {
76             $content = $this->renderPartial('templates/' . $view, false, true);
77             $this->render('//common/page', array('content' => $page['page_text'] . $content, 'page' => $page));
78         }
79 
80     }
81 
#11
+
 /var/www/hosts/lk.usoft.ru/index.php(58): CApplication->run()
53 //Yii::setPathOfAlias('templates', $dirname_file .DIRECTORY_SEPARATOR.'templates');
54 Yii::setPathOfAlias('core',INDEX_DIR.DIRECTORY_SEPARATOR.'core');
55 require_once(__DIR__.DIRECTORY_SEPARATOR.'protected' .DIRECTORY_SEPARATOR.'vendors' .DIRECTORY_SEPARATOR.'Loader.php');
56 Yii::registerAutoloader(array('Loader','systemMainAutoload'));
57 
58 Yii::createWebApplication($config_yii_path)->run();
2026-01-19 13:52:29 nginx/1.18.0 Yii Framework/1.1.15