Try the Demo

Magento Forum

   
cache_dir must be a directory
 
brightbox
Jr. Member
 
Total Posts:  2
Joined:  2008-09-10
 

I have searched all forums looking for a solution for this and nothing has worked.

I installed magento using ssh and I can’t get to the install page. I have tried deleted the cache folder recreating it and changing permissions from 777 to 775 vice versa. So far no luck.This is my error. Please help

There was a problem proceeding with Magento installation.

Please contact developers with error messages on this page.

cache_dir must be a directory

#0 /var/www/vhosts/elevateprinting.com/httpdocs/app/code/core/Zend/Cache/Backend/File.php(146): Zend_Cache::throwException(’cache_dir must ...’)
#1 /var/www/vhosts/elevateprinting.com/httpdocs/app/code/core/Zend/Cache/Backend/File.php(121): Zend_Cache_Backend_File->setCacheDir(’/var/www/vhosts...’)
#2 /var/www/vhosts/elevateprinting.com/httpdocs/lib/Zend/Cache.php(124): Zend_Cache_Backend_File->__construct(Array)
#3 /var/www/vhosts/elevateprinting.com/httpdocs/app/code/core/Mage/Core/Model/App.php(892): Zend_Cache::factory(’Core’, ‘File’, Array, Array)
#4 /var/www/vhosts/elevateprinting.com/httpdocs/app/code/core/Mage/Core/Model/Locale.php(71): Mage_Core_Model_App->getCache()
#5 /var/www/vhosts/elevateprinting.com/httpdocs/app/code/core/Mage/Core/Model/Config.php(715): Mage_Core_Model_Locale->__construct(Array)
#6 /var/www/vhosts/elevateprinting.com/httpdocs/app/Mage.php(287): Mage_Core_Model_Config->getModelInstance(’core/locale’, Array)
#7 /var/www/vhosts/elevateprinting.com/httpdocs/app/Mage.php(301): Mage::getModel(’core/locale’, Array)
#8 /var/www/vhosts/elevateprinting.com/httpdocs/app/code/core/Mage/Core/Model/App.php(733): Mage::getSingleton(’core/locale’)
#9 /var/www/vhosts/elevateprinting.com/httpdocs/app/code/core/Mage/Core/Model/Translate.php(324): Mage_Core_Model_App->getLocale()
#10 /var/www/vhosts/elevateprinting.com/httpdocs/app/code/core/Mage/Core/Model/Translate.php(164): Mage_Core_Model_Translate->getLocale()
#11 /var/www/vhosts/elevateprinting.com/httpdocs/app/code/core/Mage/Core/Model/Translate.php(107): Mage_Core_Model_Translate->setConfig(Array)
#12 /var/www/vhosts/elevateprinting.com/httpdocs/app/code/core/Mage/Core/Model/App/Area.php(139): Mage_Core_Model_Translate->init(’install’)
#13 /var/www/vhosts/elevateprinting.com/httpdocs/app/code/core/Mage/Core/Model/App/Area.php(114): Mage_Core_Model_App_Area->_initTranslate()
#14 /var/www/vhosts/elevateprinting.com/httpdocs/app/code/core/Mage/Core/Model/App/Area.php(86): Mage_Core_Model_App_Area->_loadPart(’translate’)
#15 /var/www/vhosts/elevateprinting.com/httpdocs/app/code/core/Mage/Core/Model/App.php(511): Mage_Core_Model_App_Area->load()
#16 /var/www/vhosts/elevateprinting.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(377): Mage_Core_Model_App->loadArea(’install’)
#17 /var/www/vhosts/elevateprinting.com/httpdocs/app/code/core/Mage/Install/controllers/IndexController.php(35): Mage_Core_Controller_Varien_Action->preDispatch()
#18 /var/www/vhosts/elevateprinting.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(336): Mage_Install_IndexController->preDispatch()
#19 /var/www/vhosts/elevateprinting.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(144): Mage_Core_Controller_Varien_Action->dispatch(’index’)
#20 /var/www/vhosts/elevateprinting.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(168): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#21 /var/www/vhosts/elevateprinting.com/httpdocs/app/Mage.php(420): Mage_Core_Controller_Varien_Front->dispatch()
#22 /var/www/vhosts/elevateprinting.com/httpdocs/index.php(46): Mage::run()
#23 {main}

 
Magento Community Magento Community
Magento Community
Magento Community
 
mmuziek
Jr. Member
 
Total Posts:  5
Joined:  2010-03-27
 

make a tmp dir in the root of the magento installation
that solved it for me

 
Magento Community Magento Community
Magento Community
Magento Community
 
youngcow
Jr. Member
 
Avatar
Total Posts:  10
Joined:  2008-02-14
 
mmuziek - 09 August 2010 01:14 PM

make a tmp dir in the root of the magento installation
that solved it for me

This worked. Thanks.

 Signature 

Professional Web Design Wolverhampton
We are professionals in:
eCommerce SEO
Internet Marketing SEO - We will get your web site onto page one of Google Search Engine Results Pages within 6 months for some or all of your search terms or we will refund your full payment.

 
Magento Community Magento Community
Magento Community
Magento Community
 
NaveenRahul
Jr. Member
 
Total Posts:  26
Joined:  2010-05-12
 

Thanks thats realyy solved my problem.

 
Magento Community Magento Community
Magento Community
Magento Community
 
curious_concepts
Jr. Member
 
Total Posts:  3
Joined:  2011-03-03
 

thanks alot! that save my life

 
Magento Community Magento Community
Magento Community
Magento Community
 
Eduardo Bertolucci
Jr. Member
 
Total Posts:  2
Joined:  2009-01-26
 

Obrigado, resolveu meu problema.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Ebuntu
Sr. Member
 
Avatar
Total Posts:  245
Joined:  2010-06-16
Denver, CO
 

I suggest you create and place the “temp” sub-directory in the MAGENTO/var directory. Here is how: http://servertune.com/kbase/entry/401/

 Signature 

---
Ebuntu (Magento Support)
RHCE, CCNA, and Magento Technologist
Need help with your Magento?
email: for a price quote.

 
Magento Community Magento Community
Magento Community
Magento Community
 
webkul
Sr. Member
 
Avatar
Total Posts:  147
Joined:  2010-10-27
 

Hope this will help Magento : cache_dir must be a directory

 Signature 

Professional Magento Development |

http://webkul.com

http://psdtomagentosite.com

http://jewellerywebsitedesign.com/

Magento Customer Partner

 
Magento Community Magento Community
Magento Community
Magento Community
 
suppapac
Jr. Member
 
Total Posts:  1
Joined:  2012-06-14
 

tmp dir It’s work!!!

Thank you very much smile smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
zeshan-Khattak
Jr. Member
 
Total Posts:  1
Joined:  2010-08-09
 

Create ‘tmp’ directory under root directory really worked for me. Thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
hkhalid
Jr. Member
 
Total Posts:  19
Joined:  2010-04-26
 
webkul - 15 November 2011 04:38 PM

Hope this will help Magento : cache_dir must be a directory

This works great mate!… thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
Hallan
Jr. Member
 
Total Posts:  4
Joined:  2010-05-04
 

I created a subdirectory to a new website and had received this message about cache_dir. I followed the instructions and then created a /tmp directory inside this subdirectory I had created before. It works!

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top