ServerTune

Browse by category

Search    |    Advanced search

Error: Could not determine temp directory, please specify a cache_dir manually

If you see/get the following error message in one of the report files at: MAGENTO_STOR/var/repot/

Could not determine temp directory, please specify a cache_dir manually

To fix this problem, do the following:

  1. Create tmp sub-directory inside var/ directory within your Magento installation directory.
  2. Edit the file: MAGENTO_STORE/lib/Zend/Cache/Backend/File.php

Find the syntax:

	'cache_dir' => null,

Replace the word null with 'var/tmp'. The syntax should look like the following::

	'cache_dir' => 'var/tmp',

Login to Magento admin area, clear the cache; exit your browser and clear the cache for your browser. It should be working

 
 
Add comment
 
Views: 1253
 
Votes: 0
 
Comments: 0
 

Other articles in this Category

RSS