Issues

ZF-1338: error messages on writing cache files

Description

I use Zend_Log to log all error messages using the php function set_error_handler but then hidden errors (@) will call the error handler function, too. Now I get the following errors:


2007-05-02T15:03:33+00:00 WARN (pid:2656, ip:127.0.0.1): fopen(./data/cache\webd_--9\webd_--92\webd_---account_kellerkind---1178121813) [function.fopen]: failed to open stream: No such file or directory in file ...library\Zend\Cache\Backend\File.php on line 232
2007-05-02T15:03:33+00:00 WARN (pid:2656, ip:127.0.0.1): Wrong parameter count for chmod() in file ...library\Zend\Cache\Backend\File.php on line 258

-> Please test the directory structure before open the cache file with fopen -> chmod is wrong

Comments

Zend__Cache related issue, assigned to Fabien

  • chmod is fixed in SVN (thanks)
  • mkdir errors need some refactoring and I don't want to introduce big changes until 1.0, so I will do it for 1.1.0