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".
$error .= "\n\n"; $error .= 'Please make sure you have set correct write permissions for directory "%s".'; $error = sprintf($error, $cache, $config, AgaviConfig::get('core.cache_dir')); throw new AgaviCacheException($error); } /** } $data = self::executeHandler($config, $context, $handlerInfo); self::writeCacheFile($config, $cache, $data, false); } /** if(self::isModified($filename, $cache)) { // configuration file has changed so we need to reparse it self::callHandler($config, $filename, $cache, $context); } return $cache; */ protected static function loadConfigHandlersFile($cfg) { self::$handlers = (array)self::$handlers + include(AgaviConfigCache::checkConfig($cfg)); } /** $cfg = AgaviConfig::get('core.system_config_dir') . '/config_handlers.xml'; } // application configuration handlers self::loadConfigHandlersFile($cfg); } /** */ protected static function setupHandlers() { self::loadConfigHandlers(); if(self::$handlersDirty) { // set handlersdirty to false, prevent an infinite loop */ protected static function callHandler($name, $config, $cache, $context, array $handlerInfo = null) { self::setupHandlers(); if(null === $handlerInfo) { // we need to load the handlers first if(self::isModified($filename, $cache)) { // configuration file has changed so we need to reparse it self::callHandler($config, $filename, $cache, $context); } return $cache; */ public static function load($config, $context = null, $once = true) { $cache = self::checkConfig($config, $context); if($once) { include_once($cache); AgaviConfig::set('core.cldr_dir', AgaviConfig::get('core.agavi_dir') . '/translation/data', false, true); // load base settings AgaviConfigCache::load(AgaviConfig::get('core.config_dir') . '/settings.xml'); // clear our cache if the conditions are right if(AgaviConfig::get('core.debug')) {AgaviConfig::set("app.global_libraries_dir", $libraries_dir);AgaviConfig::set('core.skip_config_validation', true);AgaviConfig::set('core.skip_config_transformations', true);Agavi::bootstrap($env); // +---------------------------------------------------------------------------+// | Call the controller's dispatch method on the default context |