TConfigurationException

Description

Application base path 'false' does not exist or is not a directory.

Source File

/home/sunrise/public_html/framework/TApplication.php (321)

0310:      * to determine the application configuration file,
0311:      * application root path and the runtime path.
0312:      * @param string the application root path or the application configuration file
0313:      * @see setBasePath
0314:      * @see setRuntimePath
0315:      * @see setConfigurationFile
0316:      */
0317:     protected function resolvePaths($basePath)
0318:     {
0319:         // determine configuration path and file
0320:         if(empty($basePath) || ($basePath=realpath($basePath))===false)
0321: throw new TConfigurationException('application_basepath_invalid',$basePath);
0322: if(is_file($basePath.DIRECTORY_SEPARATOR.self::CONFIG_FILE)) 0323: $configFile=$basePath.DIRECTORY_SEPARATOR.self::CONFIG_FILE; 0324: else if(is_file($basePath)) 0325: { 0326: $configFile=$basePath; 0327: $basePath=dirname($configFile); 0328: } 0329: else 0330: $configFile=null; 0331: 0332: // determine runtime path 0333: $runtimePath=$basePath.DIRECTORY_SEPARATOR.self::RUNTIME_PATH;

Stack Trace

#0 /home/sunrise/public_html/framework/TApplication.php(295): TApplication->resolvePaths('protected')
#1 /home/sunrise/public_html/index.php(3): TApplication->__construct()
#2 {main}
2012-01-28 13:13 Apache/2.2.19 (Unix) mod_ssl/2.2.19 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PRADO/3.1.1