Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

After doing my code update. I got this error. Could you help me figure this one out? I gave 777 permission to all of the folders. Thanks in advance!

Fatal error: Uncaught exception 'Zend_Cache_Exception' with message 'cache_dir must be a directory' in C:\xampp\htdocs\mts\library\Zend\Cache.php:208 Stack trace: #0 C:\xampp\htdocs\mts\library\Zend\Cache\Backend\File.php(154): Zend_Cache::throwException('cache_dir must ...') #1 C:\xampp\htdocs\mts\library\Zend\Cache\Backend\File.php(121): Zend_Cache_Backend_File->setCacheDir('C:\xampp\htdocs...') #2 C:\xampp\htdocs\mts\library\Zend\Cache.php(152): Zend_Cache_Backend_File->__construct(Array) #3 C:\xampp\htdocs\mts\library\Zend\Cache.php(93): Zend_Cache::_makeBackend('File', Array, false, false) #4 C:\xampp\htdocs\mts\application\Bootstrap.php(22): Zend_Cache::factory('Core', 'File', Array, Array) #5 C:\xampp\htdocs\mts\library\Zend\Application\Bootstrap\BootstrapAbstract.php(636): Bootstrap->_initCache() #6 C:\xampp\htdocs\mts\library\Zend\Application\Bootstrap\BootstrapAbstract.php(589): Zend_Application_Bootstrap_BootstrapAbstract->_executeResource('cache') 7# C:\xampp\htdocs\mts\library\Zend\Application\Bootstrap\Boots in C:\xampp\htdocs\mts\library\Zend\Cache.php on line 208

share|improve this question
This is more related to Zend Framework. I think StackOverflow would have been more suitable for this question. – Optimus Jan 22 '12 at 11:40
Should I simply ask the same question on SO, or is there a possibility of migration by the moderators? – Rene Brakus Jan 22 '12 at 11:47
You don't need to ask again. I already flagged it. If they find it suitable, they will move it. – Optimus Jan 22 '12 at 11:51

1 Answer

It's not about permission, ZF can't find the cache directory. Check if the directory you set in application.ini actually exists. As you are on Windows machine, permissions shouldn't be a problem.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.