Could not determine temp directory, please specify a cache_dir manually in magento

Follow below steps

Step-1 : Open lib/Zend/Cache/Backend/File.php

Step-2 : Find following code

‘cache_dir’ => ‘null’,

Step-3 : And replace with following code

‘cache_dir’ => ‘tmp/’,

Step-4 : Save the File.php file and upload it on server

Step-5 : And create tmp folder on root directory of your magento installation

About the Author