CException

ที่อยู่โปรแกรม "/home/acdc/public_html/protected/runtime" ไม่ถูกต้อง กรุณาตรวจสอบว่าไดเรกทอรี่นั้นถูกต้องและสามารถเขียนได้โดยคำสั่งของเซิฟเวอร์

/home/acdc/public_html/framework/base/CApplication.php(267)

255             return $this->_runtimePath;
256         }
257     }
258 
259     /**
260      * Sets the directory that stores runtime files.
261      * @param string $path the directory that stores runtime files.
262      * @throws CException if the directory does not exist or is not writable
263      */
264     public function setRuntimePath($path)
265     {
266         if(($runtimePath=realpath($path))===false || !is_dir($runtimePath) || !is_writable($runtimePath))
267             throw new CException(Yii::t('yii','Application runtime path "{path}" is not valid. Please make sure it is a directory writable by the Web server process.',
268                 array('{path}'=>$path)));
269         $this->_runtimePath=$runtimePath;
270     }
271 
272     /**
273      * Returns the root directory that holds all third-party extensions.
274      * @return string the directory that contains all extensions. Defaults to the 'extensions' directory under 'protected'.
275      */
276     public function getExtensionPath()
277     {
278         return Yii::getPathOfAlias('ext');
279     }

Stack Trace

#8
+
 /home/acdc/public_html/index.php(18): YiiBase::createWebApplication("/home/acdc/public_html/protected/config/main.php")
13 defined('YII_DEBUG') or define('YII_DEBUG',true);
14 // specify how many levels of call stack should be shown in each log message
15 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
16 
17 require_once($yii);
18 Yii::createWebApplication($config)->run();
19 
2024-03-28 16:46:31 Apache Yii Framework/1.1.8