Facebook fans

Latest from Twitter

Magento 1.5 – Could not determine temp directory, please specify a cache_dir manually

Posted date: 25 Aug 2011 | Posted by: admin | 0 comments

Your Magento website is running well until the day you get the message “Could not determine temp directory, please specify a cache_dir manually”.

This error is caused because the magento is unable to find the temporary directory at the server.

To fix this bug, you should do the following steps:

  1. Create a ‘tmp’ directory at [Magento Directory]/var/
  2. Give 0777 permission to ‘tmp’
  3. Go to: [Magento Directory]/lib/Zend/Cache/
  4. Open file Backend.php
  5. Find this line “if ($this->_isGoodTmpDir(’\\temp’)) “ around line 194
  6. After closing if put following
  7. else{
    return 'var/tmp/';
    }
  8. Save file

That’s it, go and enjoy!

Note: This fix are applied successfully for Magento version 1.5.x, for other version, i’m not sure it will fix that problem! Let try and comment if you still get this error message!

It's useful? Like this article!

Comments are closed.

Share this

Related posts

Pinterest Fan Box – Add Pinterest Followers to your Magento site image

Pinterest Fan Box, do you know how to add your Pinterest...

7 Apr 2012
Pinterest Feeds – Add Pinterest Pin Board to Magento Site image

Pinterest Feeds to Magento sites, how to do the...

23 Mar 2012
Pinterest Magento Linker image

Pinterest is one of the hottest social networks and is...

14 Mar 2012
Debugging magento templates image

Developing in Magento without these debugging tips can be...

14 Oct 2011

Mirage Design @ 2011 | Web development, Website design, Magento development, Wordpress development

Pinterest Tutorial   Ty so bong da   Tim chung cu