CException

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

/var/www/html/dev/scottbutton/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/dev/scottbutton/index.php(13): YiiBase::createWebApplication()
08 defined('YII_DEBUG') or define('YII_DEBUG',true);
09 // specify how many levels of call stack should be shown in each log message
10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
11 
12 require_once($yii);
13 Yii::createWebApplication($config)->run();
2024-03-28 22:13:04 Apache/2.4.29 (Ubuntu) Yii Framework/1.1.16-dev