Issue Type: Bug Created: 2010-01-28T05:32:06.000+0000 Last Updated: 2010-07-20T11:56:55.000+0000 Status: Closed Fix version(s): - 1.10.7 (28/Jul/10)
Reporter: Maciej Wilgucki (batman) Assignee: Marc Bennewitz (private) (mabe) Tags: - Zend_Cache
Related issues: - ZF-9642
Attachments: - Static.php.patch
When I'm trying to use this backend i get two errors. First is triggered by mkdir function in Zend/Cache/Backend/Static.php on line 244. The directory id prepended by / and looks like this: /C:\wamp\www\projectname... Second error is triggered by file_put_contents function in Zend/Cache/Backend/Static.php on line 209 because file name is invalid - C:\wamp\www\projectname\html./\x120html.
Posted by Ramon Henrique Ornelas (ramon) on 2010-02-05T09:10:37.000+0000
Reassigned for @PadraicB
Posted by Maxell (maxell) on 2010-04-03T14:18:53.000+0000
Added patch that fixes the static cache issue on Windows. Mkdir can also recursively create directories, so in the patch I used that and removed the protected createDirectoriesFor method.
Posted by Ramon Henrique Ornelas (ramon) on 2010-05-09T21:14:46.000+0000
I agree with the patch Static.php.patch.
It makes no sense to try to create directories with method $this->_createDirectoriesFor($pathName) line 226, already that in line 225 used the function www.php.net/realpath" rel="nofollow">realpath case no exists the directory the function return false.
Posted by Marc Bennewitz (private) (mabe) on 2010-07-20T00:55:40.000+0000
As of fixing bug ZF-9642 - Please test if this bug was fixed, too?
Posted by Maxell (maxell) on 2010-07-20T09:38:18.000+0000
I can confirm that this bug is also fixed.
Posted by Marc Bennewitz (private) (mabe) on 2010-07-20T11:56:53.000+0000
fixed with ZF-9642
Have you found an issue?
See the Overview section for more details.