Hi
Thanks. I dont't know if it's a problem with Zend_Cache_Manager.
inside _initTranslate()
$this->bootstrap('cachemanager');
$manager = $this->getResource('cachemanager');
// Zend_Debug::dump($manager); ==> ok returns a Zend_Cache_Manager object
$cache = $manager->getCache('cache');
produces a fatal error
*Fatal error*: Uncaught exception 'Zend_Cache_Exception' with message 'file
Zend\Cache\Backend\Core.php not found in include_path' in
C:\wwwroot\lib\php\Zend\library\Zend\Cache.php:208 ...
but echoing get_include_path() before $cache = $manager->getCache('cache')
shows the path to the library.
Before trying to add a cache to the translator, there were no problems so
it's not related with paths.
Cheers
holo
2010/3/22 tonystamp <[email protected]>
>
> If you need to access another resource in the bootstrap, you first ensure
> that the method loading the required resource has been run, then simply
> fetch it:
>
> $this->bootstrap('cachemanager');
> $cache = $this->getResource('cachemanager');
> --
> View this message in context:
> http://n4.nabble.com/Getting-resources-in-bootstrap-tp1678226p1678237.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>