In windows special characters \ / : * ? " < > | can't be used in a file name. when the config(module.ini) for a module compiles the : isn't stripped off. An attempt to create a file C:_PATH_MODULE_CONFIG.php is tried, but everything after the : is truncated, leaving a file "C".
The new file "C" is empty.

simple fix:
in file
   ConfigCache.class.php
in method
   public static function getCacheName ($config)
   {

if (strlen($config) > 3 && ctype_alpha($config{0}) && $config{1} == ':' && $config{2} == '\\') {
           // file is a windows absolute path, strip off the drive letter
           $config = substr($config, 3);
       }

// replace unfriendly filename characters with an underscore and postfix the name with a php extension
       //Added : to the str_replace
$config = str_replace(array('\\', '/', ':'), '_', $config) . '.php';
       return AG_CACHE_DIR . '/' . $config;

   }
_______________________________________________
agavi-dev mailing list
[email protected]
http://labworkz.com/cgi-bin/mailman/listinfo/agavi-dev

Reply via email to