TConfigurationException

Description

Unable to create runtime path '/var/www/html/protected/runtime/application.php-3.2.4'. Make sure the parent directory exists and is writable by the Web process.

Source File

/usr/share/prado/3.2.4/framework/pradolite.php (10278)

10267:         else
10268:             $configFile=null;
10269:                 $runtimePath=$basePath.DIRECTORY_SEPARATOR.self::RUNTIME_PATH;
10270:         if(is_writable($runtimePath))
10271:         {
10272:             if($configFile!==null)
10273:             {
10274:                 $runtimePath.=DIRECTORY_SEPARATOR.basename($configFile).'-'.Prado::getVersion();
10275:                 if(!is_dir($runtimePath))
10276:                 {
10277:                     if(@mkdir($runtimePath)===false)
10278: throw new TConfigurationException('application_runtimepath_failed',$runtimePath);
10279: @chmod($runtimePath, PRADO_CHMOD); } 10280: $this->setConfigurationFile($configFile); 10281: } 10282: $this->setBasePath($basePath); 10283: $this->setRuntimePath($runtimePath); 10284: } 10285: else 10286: throw new TConfigurationException('application_runtimepath_invalid',$runtimePath); 10287: } 10288: public function run() 10289: { 10290: try

Stack Trace

#0 /usr/share/prado/3.2.4/framework/pradolite.php(10248): TApplication->resolvePaths('protected')
#1 /var/www/html/index.php(18): TApplication->__construct('protected', true, 'php')
#2 {main}
2025-07-09 16:16 Apache/2.4.10 (Debian) PRADO/3.2.4