CException

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

/var/www/html/nittt-swayam/library/base/CApplication.php(294)

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

Stack Trace

#8
+
 /var/www/html/nittt-swayam/index.php(17): YiiBase::createWebApplication("/var/www/html/nittt-swayam/protected/config/main.php")
12 
13 // remove the following line when in production mode
14 defined('YII_DEBUG') or define('YII_DEBUG',true);
15 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
16 require_once($yii);
17 Yii::createWebApplication($config)->run();
2024-03-28 16:14:27 Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips mod_auth_gssapi/1.5.1 PHP/5.6.40 mod_wsgi/3.4 Python/2.7.5 Yii Framework/1.1.19