CException

Unrecognized locale "".

/home/httpd/vhosts/adriso.ch/httpdocs/adriso/yii/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

#4
+
 /home/httpd/vhosts/adriso.ch/httpdocs/adriso/prod/themes/front/views/layouts/parent.php(5): CModule->__get("locale")
01 <!DOCTYPE html>
02 <!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
03 <!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
04 <!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
05 <!--[if gt IE 8]><!--> <html class="no-js" lang="<?php echo Yii::app()->locale->getId()?>"> <!--<![endif]-->
06   <?php  $category=dbModels::getCatByAlias($this->alias);$category=$category[0];?>
07     <head>
08         <meta charset="utf-8">
09 
10         <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
#8
+
 /home/httpd/vhosts/adriso.ch/httpdocs/adriso/prod/protected/controllers/SiteController.php(152): CController->render("index", array("alias" => "allebon"))
147            $catemodel->update();
148 
149 
150 
151        }
152            $this->render('index',array('alias'=>$this->alias));
153    }
154 
155 
156    /*save location */
157   public function actionSaveLocation()
#16
+
 /home/httpd/vhosts/adriso.ch/httpdocs/adriso/prod/index.php(16): CApplication->run()
11 
12 /*error_reporting(E_ALL& ~E_NOTICE);
13 ini_set('display_errors', 'on');*/
14 require_once($yii);
15 
16 Yii::createWebApplication($config)->run();
2024-03-28 13:26:16 Apache Yii Framework/1.1.15