CException

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

/var/www/admin/data/www/kultura.orb.ru/var/www/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/admin/data/www/kultura.orb.ru/var/www/html/protected/controllers/CategoryController.php(57): CController->render("live_category", array("current_category" => LiveCategory, "title" => "Люмьер-клуб", "category_description" => "Кино", "categorys" => array(LiveCategory, LiveCategory, LiveCategory, LiveCategory, ...), ...))
52                 'title' =>  $category->name,
53                 'category_description' =>  $category->description,
54                 'categorys' => $live_categorys,
55                 'categoryId' => 9,
56                 'banners' => $banners
57             ));
58         } else throw new CHttpException(404, 'Данной категории не существует.');
59     }
60     
61     public function actionLiveLoadMore($page, $category_id = null)
62     {
#9
+
 /var/www/admin/data/www/kultura.orb.ru/var/www/html/public/index.php(17): CApplication->run()
12 // remove the following line when in production mode
13 defined('YII_DEBUG') or define('YII_DEBUG', true);
14 
15 require_once($yii);
16 
17 Yii::createWebApplication($config)->run();
2024-03-28 19:16:49 Apache/2.4.10 (Debian) Yii Framework/1.1.16-dev