Magento Expert Forum - Improve your Magento experience

Results 1 to 2 of 2

Could not determine temp directory, please specify a cache_dir manually

  1. #1
    Moderator shunavi's Avatar
    Join Date
    Mar 2013
    Posts
    124
    Thanks
    9
    Thanked 26 Times in 17 Posts

    Default Could not determine temp directory, please specify a cache_dir manually

    I just wanna share you guys my experience problem how to resolve the " Could not determine temp directory, please specify a cache_dir manually " error message in Magento. This error sometimes ossurs when you are trying to access some areas of the Magento admin panel.

    1) Open Magento root directory and create tmp folder.

    2) Set directory permissions to 777 or 755

    2) Open "lib/Zend/Cache/Backend/File.php", and locate the following code

    PHP Code:
    protected $_options = array(
    'cache_dir' => null
    replace with

    PHP Code:
    protected $_options = array(
    'cache_dir' => 'tmp'

    View more threads in the same category:


  2. #2
    Junior Member wphd's Avatar
    Join Date
    May 2013
    Posts
    22
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    I meet the same problem and it work very well with your solution. Thanks
    I am wondering if anyway else we can fix without core edit?

Similar Threads

  1. Check Size of a Directory in Linux Tips
    By david in forum PHP programming
    Replies: 2
    Last Post: 22-04-2019, 07:56 AM
  2. Protect a Directory Using .htaccess
    By david in forum PHP programming
    Replies: 1
    Last Post: 14-03-2019, 07:23 AM
  3. Magento directory structure
    By rocker in forum Programming & Development
    Replies: 1
    Last Post: 27-03-2013, 02:51 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •