CException

Контроллер PageController не может найти представление "yuridicheskim_lizam/index".

/var/www/vch.ru/app/lib/vendor/yiisoft/yii/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

#1
+
 /var/www/vch.ru/app/controllers/PageController.php(23): CController->render("yuridicheskim_lizam/index", array("model" => Page))
18         $this->metaDescription = $model->meta_description;
19         $this->metaKeywords = $model->meta_keywords;
20 
21         $this->render($model->template->name . '/index', array(
22             'model' => $model
23         ));
24     }
25 
26     /**
27      * This is the action to handle external exceptions.
28      */
#14
+
 /var/www/vch.ru/www/index.php(14): CApplication->run()
09  * @copyright 2013 2amigOS! Consultation Group LLC
10  * @license http://www.opensource.org/licenses/bsd-license.php New BSD License
11  */
12 require('./../app/lib/vendor/autoload.php');
13 
14 Yiinitializr\Helpers\Initializer::create('./../app', 'main', array('common', 'env', 'local'))->run();
2024-03-19 08:40:59 Apache/2.2.22 (Debian) Yii Framework/1.1.15