CException

Неизвестная локаль "kz".

/var/www/planeta/framework/base/CModule.php(105)

093     /**
094      * Getter magic method.
095      * This method is overridden to support accessing application components
096      * like reading module properties.
097      * @param string $name application component or property name
098      * @return mixed the named property value
099      */
100     public function __get($name)
101     {
102         if($this->hasComponent($name))
103             return $this->getComponent($name);
104         else
105             return parent::__get($name);
106     }
107 
108     /**
109      * Checks if a property value is null.
110      * This method overrides the parent implementation by checking
111      * if the named application component is loaded.
112      * @param string $name the property name or the event name
113      * @return boolean whether the property value is null
114      */
115     public function __isset($name)
116     {
117         if($this->hasComponent($name))

Stack Trace

#5
+
 /var/www/planeta/protected/views/page/_normal.php(39): CModule->__get("locale")
34         <div>
35             <p>
36                 <a title="<?=$page->title?>" href="<?=$page->getRecordUrl()?>"><?php echo $page->title; ?></a>
37             </p>
38             <?php if ($model->url!='instruktsii' && $model->url!='stati'): ?>
39                 <p class="date mt-14"><?=date('d',$page->created_at).' '.Yii::app()->locale->getMonthName(date("n",$page->created_at),'wide',false).' '.date('Y',$page->created_at)?> <?php echo Yii::t('site','г.');?></p>
40                 <p><?php echo $this->getScontent($page->text,100); ?></p>
41             <?php endif ?>
42         </div>
43         <div class="clear"></div>
44     </div>
#9
+
 /var/www/planeta/protected/views/page/w_index.php(40): CController->renderPartial("_normal", array("model" => PageCategory, "submodels" => array(), "modelPages" => array(221 => Page, 222 => Page, 223 => Page, 224 => Page, ...), "pages" => CPagination))
35                     <?php echo $model->content; ?>
36                 </div>
37                 <?php if ($recStatus): ?>
38                     <?=$this->renderPartial('_rec',compact('model','submodels','modelPages','pages'))?>
39                 <?php else: ?>
40                     <?=$this->renderPartial('_normal',compact('model','submodels','modelPages','pages'))?>
41                 <?php endif ?>
42             </div>
43         </div>
44     </div>
45 </div>
#14
+
 /var/www/planeta/protected/controllers/PageController.php(60): CController->render("w_index", array("model" => PageCategory, "models" => array(PageCategory, PageCategory, PageCategory), "submodels" => array(), "modelPages" => array(221 => Page, 222 => Page, 223 => Page, 224 => Page, ...), ...))
55         }
56         if(!$this->breadcrumbs){
57             $this->breadcrumbs[] = Yii::t('site','Библиотека');
58         }
59         $models = PageCategory::model()->findAll(array('condition'=>"status='1' AND parent_id='0'"));
60         $this->render('w_index',compact('model','models','submodels','modelPages','pages'));
61     }
62 
63     public function actionShow($url){
64         $this->layout ='w_insidePage';
65         $model = Page::model()->find(array(
2024-03-19 17:16:27 Apache/2.4.7 (Ubuntu) Yii Framework/1.1.16