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...')

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/', 
  • Only find Db and XmlRpc folder under app/code/core/Zend/ – DaveRyan Mar 7 '14 at 9:26
  • 2
    Have a look at lib/Zend/Cache/Backend – Simon Mar 7 '14 at 9:29
  • I encountered this issue on a working environment, after only replicate a db dump. Do you have a hint? – DarkCowboy Mar 26 '18 at 12:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.