1

Tried to install magento 1.8.1 to my hosting server. Everything look fine in the frontend, and I can login to backend and add category. However when I try to modify it(e.g: Catalog>Manage Products)in the backend its getting exception printing is disabled by default for security reasons. Did I make anything wrong during the installation? Don't know how to fix it! Thank you very much!

a:5:{i:0;s:71:"Could not determine temp directory, please specify a cache_dir manually";i:1;s:4121:"#0 /home/greenlight/www/www/ftp/magento/lib/Zend/Cache/Backend.php(197): Zend_Cache::throwException('Could not deter...')

Fiasco Labs
7,5934 gold badges29 silver badges48 bronze badges
asked Mar 7, 2014 at 8:47

2 Answers 2

2

Try this

Create a new directory called tmp

Navigate to app/code/core/Zend/Cache/Backend/

Edit File.php

Change:

 protected $_options = array(
 'cache_dir' => 'null',

to

 protected $_options = array(
 'cache_dir' => 'tmp/', 
answered Mar 7, 2014 at 8:58
3
  • Only find Db and XmlRpc folder under app/code/core/Zend/ Commented Mar 7, 2014 at 9:26
  • 2
    Have a look at lib/Zend/Cache/Backend Commented Mar 7, 2014 at 9:29
  • I encountered this issue on a working environment, after only replicate a db dump. Do you have a hint? Commented Mar 26, 2018 at 12:02

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.