Warning: fileperms() [function.fileperms]: stat failed for /srv/www/www.mtv.de/MTV/app/cache in /srv/www/www.mtv.de/libraries/agavi/config/AgaviConfigCache.class.php on line 514

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/www.mtv.de/libraries/agavi/config/AgaviConfigCache.class.php:514) in /srv/www/www.mtv.de/libraries/agavi/exception/templates/shiny.php on line 102

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/www.mtv.de/libraries/agavi/config/AgaviConfigCache.class.php:514) in /srv/www/www.mtv.de/libraries/agavi/exception/templates/shiny.php on line 107
AgaviCacheException

AgaviCacheException

This is an internal Agavi exception. Please consult the documentation for assistance with solving this issue.

An exception of type AgaviCacheException was thrown, but did not get caught during the execution of the request. You will find information provided by the exception along with a stack trace below.

Failed to write cache file "/srv/www/www.mtv.de/MTV/app/cache/config/config_handlers.xml_production__642a84c8f4b405eb3bae85750044705f3ff2dbb5.php" generated from configuration file "/srv/www/www.mtv.de/MTV/app/config/config_handlers.xml".

Please make sure you have set correct write permissions for directory "/srv/www/www.mtv.de/MTV/app/cache".

Stack Trace

  1. at exception origin
    in core.agavi_dir/config/AgaviConfigCache.class.php line 544
    1.     $error .= "\n\n";
    2.     $error .= 'Please make sure you have set correct write permissions for directory "%s".';
    3.     $error sprintf($error$cache$configAgaviConfig::get('core.cache_dir'));
    4.     throw new AgaviCacheException($error);
    5.   }
    6.  
    7.   /**
  2. at AgaviConfigCache::writeCacheFile('/srv/www/www.mtv.de/MTV/a … onfig/config_handlers.xml', '/srv/www/www.mtv.de/MTV/a … e85750044705f3ff2dbb5.php', '<?php // This is a compi … ), ), ), ) ?>', false)
    in core.agavi_dir/config/AgaviConfigCache.class.php line 88
    1.     }
    2.  
    3.     $data self::executeHandler($config$context$handlerInfo);
    4.     self::writeCacheFile($config$cache$datafalse);
    5.   }
    6.  
    7.   /**
  3. at AgaviConfigCache::callHandler('/srv/www/www.mtv.de/MTV/a … onfig/config_handlers.xml', '/srv/www/www.mtv.de/MTV/a … onfig/config_handlers.xml', '/srv/www/www.mtv.de/MTV/a … e85750044705f3ff2dbb5.php', NULL)
    in core.agavi_dir/config/AgaviConfigCache.class.php line 243
    1.  
    2.     if(self::isModified($filename$cache)) {
    3.       // configuration file has changed so we need to reparse it
    4.       self::callHandler($config$filename$cache$context);
    5.     }
    6.  
    7.     return $cache;
  4. at AgaviConfigCache::checkConfig('/srv/www/www.mtv.de/MTV/a … onfig/config_handlers.xml')
    in core.agavi_dir/config/AgaviConfigCache.class.php line 475
    1.    */
    2.   protected static function loadConfigHandlersFile($cfg)
    3.   {
    4.     self::$handlers = (array)self::$handlers + include(AgaviConfigCache::checkConfig($cfg));
    5.   }
    6.  
    7.   /**
  5. at AgaviConfigCache::loadConfigHandlersFile('/srv/www/www.mtv.de/MTV/a … onfig/config_handlers.xml')
    in core.agavi_dir/config/AgaviConfigCache.class.php line 461
    1.       $cfg AgaviConfig::get('core.system_config_dir') . '/config_handlers.xml';
    2.     }
    3.     // application configuration handlers
    4.     self::loadConfigHandlersFile($cfg);
    5.   }
    6.   
    7.   /**
  6. at AgaviConfigCache::loadConfigHandlers()
    in core.agavi_dir/config/AgaviConfigCache.class.php line 102
    1.    */
    2.   protected static function setupHandlers()
    3.   {
    4.     self::loadConfigHandlers();
    5.     
    6.     if(self::$handlersDirty) {
    7.       // set handlersdirty to false, prevent an infinite loop
  7. at AgaviConfigCache::setupHandlers()
    in core.agavi_dir/config/AgaviConfigCache.class.php line 80
    1.    */
    2.   protected static function callHandler($name$config$cache$context, array $handlerInfo null)
    3.   {
    4.     self::setupHandlers();
    5.     
    6.     if(null === $handlerInfo) {
    7.       // we need to load the handlers first
  8. at AgaviConfigCache::callHandler('/srv/www/www.mtv.de/MTV/app/config/settings.xml', '/srv/www/www.mtv.de/MTV/app/config/settings.xml', '/srv/www/www.mtv.de/MTV/a … a3e2872ab06d6a1bc2803.php', NULL)
    in core.agavi_dir/config/AgaviConfigCache.class.php line 243
    1.  
    2.     if(self::isModified($filename$cache)) {
    3.       // configuration file has changed so we need to reparse it
    4.       self::callHandler($config$filename$cache$context);
    5.     }
    6.  
    7.     return $cache;
  9. at AgaviConfigCache::checkConfig('/srv/www/www.mtv.de/MTV/app/config/settings.xml', NULL)
    in core.agavi_dir/config/AgaviConfigCache.class.php line 339
    1.    */
    2.   public static function load($config$context null$once true)
    3.   {
    4.     $cache self::checkConfig($config$context);
    5.  
    6.     if($once) {
    7.       include_once($cache);
  10. at AgaviConfigCache::load('/srv/www/www.mtv.de/MTV/app/config/settings.xml')
    in core.agavi_dir/core/Agavi.class.php line 147
    1.       AgaviConfig::set('core.cldr_dir'AgaviConfig::get('core.agavi_dir') . '/translation/data'falsetrue);
    2.  
    3.       // load base settings
    4.       AgaviConfigCache::load(AgaviConfig::get('core.config_dir') . '/settings.xml');
    5.  
    6.       // clear our cache if the conditions are right
    7.       if(AgaviConfig::get('core.debug')) {
  11. at Agavi::bootstrap('production')
    in /srv/www/www.mtv.de/MTV/pub/index.php line 64
    1. AgaviConfig::set("app.global_libraries_dir"$libraries_dir);
    2. AgaviConfig::set('core.skip_config_validation'true);
    3. AgaviConfig::set('core.skip_config_transformations'true);
    4. Agavi::bootstrap($env);
    5.  
    6. // +---------------------------------------------------------------------------+
    7. // | Call the controller's dispatch method on the default context              |

Version Information

Agavi:
1.0.2-dev
PHP:
5.2.6-1+lenny6
System:
Linux web8 2.6.26-2-amd64 #1 SMP Thu Feb 11 00:59:32 UTC 2010 x86_64
Timestamp:
2010-03-15T09:08:50+0000