Cache_Lite issues

From: Date: Wed, 02 Nov 2005 21:25:26 +0000
Subject: Cache_Lite issues
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-40378@lists.php.net to get a copy of this message
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

« previous php.pear.dev (#40378) next »