Re: Cache_Lite issues
| From: | Fabien MARTY | Date: | Wed, 02 Nov 2005 22:06:24 +0000 |
| Subject: | Re: Cache_Lite issues | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-40380@lists.php.net to get a copy of this message | ||
Hi Joe,
Please fill a bug report on pear.php.net. I will help you on the bug
report. Don't forget to add versions you run (PHP and Cache/Lite).
Regards
2005/11/2, Joe Stump <joe@joestump.net>:
> Any reason when I do if ($data = $cache->get('myid')) { } I get the
> following error:
>
> Warning: fopen(/mnt/shakespeare/stage-new/www.enotes.com/html/
> jax/../../files/xml/cache/cache_2/cache_2a/
> cache_c21f969b5f03d33d43e04f8f136e7682_290d23cbf9294c9a0f3c5032f0891aa0)
> [<a href='function.fopen'>function.fopen</a>]: failed to open
> stream: No such file or directory in /mnt/shakespeare/pear/Cache/
> Lite.php on line 688
>
> I notice that errors are being suppressed on line 688 of Cache/
> Lite.php on the fopen(), but it's still spitting out this error (PHP 5).
>
> Here are my Cache_Lite options:
>
> private $cacheOptions = array('cacheDir' => XML_CACHE_PATH,
> 'lifeTime' => 21600,
> 'fileLocking' => false,
> 'hashedDirectoryLevel' => 2);
>
>
> After the initial load the cache file exists and everything appears
> to work fine. This is only on the initial creation of the cache file.
>
> --Joe
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
--
Fabien MARTY
fabien.marty@free.fr