TInvalidDataValueException

Description

Alias 'BaseApp' refers to an invalid path '/home/otzivib/public_html'. Only existing directories can be aliased.

Source File

/var/www/vhosts/otzivi.bg/httpdocs/framework/PradoBase.php (393)

0382:     {
0383:         if(isset(self::$_aliases[$alias]))
0384:             throw new TInvalidOperationException('prado_alias_redefined',$alias);
0385:         else if(($rp=realpath($path))!==false && is_dir($rp))
0386:         {
0387:             if(strpos($alias,'.')===false)
0388:                 self::$_aliases[$alias]=$rp;
0389:             else
0390:                 throw new TInvalidDataValueException('prado_aliasname_invalid',$alias);
0391:         }
0392:         else
0393: throw new TInvalidDataValueException('prado_alias_invalid',$alias,$path);
0394: } 0395: 0396: /** 0397: * Fatal error handler. 0398: * This method displays an error message together with the current call stack. 0399: * The application will exit after calling this method. 0400: * @param string error message 0401: */ 0402: public static function fatalError($msg) 0403: { 0404: echo '<h1>Fatal Error</h1>'; 0405: echo '<p>'.$msg.'</p>';

Stack Trace

#0 /var/www/vhosts/otzivi.bg/httpdocs/framework/TApplication.php(863): PradoBase::setPathOfAlias('BaseApp', '/home/otzivib/p...')
#1 /var/www/vhosts/otzivi.bg/httpdocs/framework/TApplication.php(956): TApplication->applyConfiguration(Object(TApplicationConfiguration), false)
#2 /var/www/vhosts/otzivi.bg/httpdocs/framework/TApplication.php(370): TApplication->initApplication()
#3 /var/www/vhosts/otzivi.bg/httpdocs/index.php(38): TApplication->run()
#4 {main}
2019-04-25 18:52 Apache PRADO/3.1.7