Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/html/pst/Yii/framework/web/CHttpRequest.php on line 124

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/pst/Yii/framework/web/CHttpRequest.php:124) in /var/www/html/pst/Yii/framework/base/CErrorHandler.php on line 215
CException

CException

Application runtime path "/var/www/html/pst/protected/runtime" is not valid. Please make sure it is a directory writable by the Web server process.

/var/www/html/pst/Yii/framework/base/CApplication.php(293)

281             return $this->_runtimePath;
282         }
283     }
284 
285     /**
286      * Sets the directory that stores runtime files.
287      * @param string $path the directory that stores runtime files.
288      * @throws CException if the directory does not exist or is not writable
289      */
290     public function setRuntimePath($path)
291     {
292         if(($runtimePath=realpath($path))===false || !is_dir($runtimePath) || !is_writable($runtimePath))
293             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.',
294                 array('{path}'=>$path)));
295         $this->_runtimePath=$runtimePath;
296     }
297 
298     /**
299      * Returns the root directory that holds all third-party extensions.
300      * @return string the directory that contains all extensions. Defaults to the 'extensions' directory under 'protected'.
301      */
302     public function getExtensionPath()
303     {
304         return Yii::getPathOfAlias('ext');
305     }

Stack Trace

#8
+
–
 /var/www/html/pst/index.php(17): YiiBase::createWebApplication()
12 error_reporting(E_ALL);
13 ini_set('display_errors', 1);
14 
15 
16 require_once($yii);
17 Yii::createWebApplication($config)->run();
2026-10-10 21:34:03 Apache/2.4.58 (Ubuntu) Yii Framework/1.1.16