I am having some problem with cache registry. Here, how I configured cache
resources.cache.frontEnd = core
resources.cache.backEnd = file
resources.cache.frontEndOptions.lifetime = 1200
resources.cache.frontEndOptions.automatic_serialization = true
resources.cache.backEndOptions.lifetime = 3600
resources.cache.backEndOptions.cache_dir = APPLICATION_PATH "/../cache"
After any page I load I am receiving following error message
Fatal error: Uncaught exception ‘Zend_Application_Bootstrap_Exception’
with message ‘Unable to resolve plugin "cache"; no corresponding
plugin with that name’ in
C:\Zend\Apache2\htdocs\hotelrwanda\library\Zend\Application\Bootstrap\BootstrapAbstract.php:330
Stack trace: #0
C:\Zend\Apache2\htdocs\hotelrwanda\library\Zend\Application\Bootstrap\BootstrapAbstract.php(382):
Zend_Application_Bootstrap_BootstrapAbstract->getPluginResource(‘cache’)1 C:\Zend\Apache2\htdocs\hotelrwanda\library\Zend\Application\Bootstrap\BootstrapAbstract.php(394):
Zend_Application_Bootstrap_BootstrapAbstract->getPluginResources() #2
C:\Zend\Apache2\htdocs\hotelrwanda\library\Zend\Application\Bootstrap\BootstrapAbstract.php(625):
Zend_Application_Bootstrap_BootstrapAbstract->getPluginResourceNames()3 C:\Zend\Apache2\htdocs\hotelrwanda\library\Zend\Application\Bootstrap\BootstrapAbstract.php(586):
Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap(NULL) #4
C:\Zend\Apache2\htdocs\hotelrwanda\library\Zend\Application.php(355):
Zend_Applicatio in
C:\Zend\Apache2\htdocs\hotelrwanda\library\Zend\Application\Bootstrap\BootstrapAbstract.php
on line 330
I am sure that this is configuration problem. Can anyone help me to solve this problem?
Try adding the following line to your config file, before your cache configuration :
The error message means that Zend Framework cannot find a “cache” plugin.