CException

CAssetManager.basePath "/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/assets" không hợp lệ. Hãy chắc rằng thư mục này có tồn tại và được phép ghi bởi Web server.

/home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/lib/web/CAssetManager.php(138)

126     }
127 
128     /**
129      * Sets the root directory storing published asset files.
130      * @param string $value the root directory storing published asset files
131      * @throws CException if the base path is invalid
132      */
133     public function setBasePath($value)
134     {
135         if(($basePath=realpath($value))!==false && is_dir($basePath) && is_writable($basePath))
136             $this->_basePath=$basePath;
137         else
138             throw new CException(Yii::t('yii','CAssetManager.basePath "{path}" is invalid. Please make sure the directory exists and is writable by the Web server process.',
139                 array('{path}'=>$value)));
140     }
141 
142     /**
143      * @return string the base url that the published asset files can be accessed.
144      * Note, the ending slashes are stripped off. Defaults to '/AppBaseUrl/assets'.
145      */
146     public function getBaseUrl()
147     {
148         if($this->_baseUrl===null)
149         {
150             $request=Yii::app()->getRequest();

Stack Trace

#8
+
 /home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/protected/controllers/user/ContactController.php(75): CController->render("contact", array("model" => ContactForm))
70                 Yii::app()->user->setFlash('contact', $this->config['feedbacksuccess']);
71                 $this->refresh();
72             }
73         }
74         if (!$this->is_mobile) {
75         $this->render('contact', array('model' => $model));
76         } else {
77             $this->render('contact_mobile', array('model' => $model));
78         }
79     }
80 
#16
+
 /home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/protected/components/WebApplication.php(18): CApplication->run()
13 
14     public function runEnd($name) {
15         $this->__name = $name;
16         $this->onRunEnd = array(&$this, 'changePath');
17         $this->onRunEnd(new CEvent($this->owner));
18         $this->owner->run();
19     }
20 
21     public function onRunEnd(CEvent $event) {
22         $this->raiseEvent('onRunEnd', $event);
23     }
#19
+
 /home/xecauchuy/domains/xecauchuyendung.com.vn/public_html/index.php(10): CComponent->__call("runEnd", array("user"))
05 // remove the following lines when in production mode
06 defined('YII_DEBUG') or define('YII_DEBUG', true);
07 // specify how many levels of call stack should be shown in each log message
08 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3);
09 require_once($yii);
10 Yii::createWebApplication($config)->runEnd('user');
11 
2024-03-29 21:39:16 Apache/2 Yii Framework/1.1.15