CException

Theme 目录 "/www/wwwroot/test2021.125job.com/web/themes" 不存在.

/www/wwwroot/test2021.125job.com/vendors/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
+
 /www/wwwroot/test2021.125job.com/components/Controller.php(37): CModule->__get("theme")
32     public $mobileurl; 
33     
34 
35     public function init()    {    
36         if(!empty($this->themes)) Yii::app()->theme = $this->themes;
37         $this->media = Yii::app()->theme->baseUrl."/images/";
38         
39     }    
40     
41     public function beforeAction($action) {
42         $ur = $_SERVER["REQUEST_URI"];        
#6
+
 /www/wwwroot/test2021.125job.com/components/UController.php(16): Controller->init()
11     public $pageDesc;
12     public $topmenuwidget_menuid = 0;   
13     
14     
15     public function init() {        
16         parent::init();
17     }
18     
19     public function beforeAction($action) {
20         $this->media .= "{$this->id}/";
21         $this->pageKeyword = Yii::t("site","SEO关键词");
#10
+
 /www/wwwroot/test2021.125job.com/web/index.php(12): CApplication->run()
07 
08 $config = dirname(__FILE__).'/../config/main.php';
09 
10 //Yii run you
11 require_once(dirname(__FILE__).'/../vendors/framework/yii.php');
12 Yii::createWebApplication($config)->run();
2024-03-19 13:47:54 nginx/1.17.8 Yii Framework/1.1.20