TInvalidDataValueException

Description

Alias 'template' refers to an invalid path '/customers/peterbonde.com/peterbonde.com/httpd.www/front/protected/template'. Only existing directories can be aliased.

Source File

/customers/2/2/9/peterbonde.com/httpd.www/framework/PradoBase.php (364)

0353:     {
0354:         if(isset(self::$_aliases[$alias]))
0355:             throw new TInvalidOperationException('prado_alias_redefined',$alias);
0356:         else if(($rp=realpath($path))!==false && is_dir($rp))
0357:         {
0358:             if(strpos($alias,'.')===false)
0359:                 self::$_aliases[$alias]=$rp;
0360:             else
0361:                 throw new TInvalidDataValueException('prado_aliasname_invalid',$alias);
0362:         }
0363:         else
0364: throw new TInvalidDataValueException('prado_alias_invalid',$alias,$path);
0365: } 0366: 0367: /** 0368: * Fatal error handler. 0369: * This method displays an error message together with the current call stack. 0370: * The application will exit after calling this method. 0371: * @param string error message 0372: */ 0373: public static function fatalError($msg) 0374: { 0375: echo '<h1>Fatal Error</h1>'; 0376: echo '<p>'.$msg.'</p>';

Stack Trace

#0 /customers/2/2/9/peterbonde.com/httpd.www/framework/TApplication.php(837): PradoBase::setPathOfAlias('template', '/customers/pete...')
#1 /customers/2/2/9/peterbonde.com/httpd.www/framework/TApplication.php(927): TApplication->applyConfiguration(Object(TApplicationConfiguration), false)
#2 /customers/2/2/9/peterbonde.com/httpd.www/framework/TApplication.php(364): TApplication->initApplication()
#3 /customers/2/2/9/peterbonde.com/httpd.www/front/index.php(40): TApplication->run()
#4 {main}
2024-04-18 17:30 Apache PRADO/3.1.2