Categories

Featured templates

Magento Troubleshooter. Could not determine temp directory, please specify a cache_dir manually

Chris Diaz April 5, 2012
Rating: 5.0/5. From 3 votes.
Please wait...

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’,


Magento Ecommerce Themes
This entry was posted in Magento Tutorials and tagged admin, Magento. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket