- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
Magento Troubleshooter. Could not determine temp directory, please specify a cache_dir manually
April 5, 2012
This tutorial shows how to resolve the " Could not determine temp directory, please specify a cache_dir manually " error message in Magento. This error sometimes ossurs when you are trying to access some areas of the Magento admin panel.
1) Open Magento root directory and create tmp folder.
2) Set directory permissions to 777 or 755
2) Open “lib/Zend/Cache/Backend/File.php“, and locate the following code
protected $_options = array( ‘cache_dir’ => null,
replace with
protected $_options = array( ‘cache_dir’ => ‘tmp’,