tmp issue while Magento installation..
Getting /tmp directory issue in Magento, ahh its really annoying but the solution behind it very simple. .. you will see error like this..
-#0 /home/daan/domains/../library/Zend/Cache/Backend/File.php(154): Zend_Cache::throwException('cache_dir must ...') -#1 /home/daan/domains/../library/Zend/Cache/Backend/File.php(121): Zend_Cache_Backend_File->
setCacheDir('/domains/daan.h...') -#2 /home/daan/domains/../library/Zend/Cache.php(153): Zend_Cache_Backend_File->
__construct(Array) -#3 /home/daan/domains/../library/Zend/Cache.php(94): Zend_Cache::_makeBackend('File', Array, false, false) -#4 /home/daan/domains/../library/Zend/Locale/Data.php(307): Zend_Cache::factory('Core', 'File', Array, Array) -#5 /home/daan/domains/../library/Zend/Locale/Format.php(796): Zend_Locale_Data::getList('nl_NL', 'day') -#6 /home/daan/domains/../library/Zend/Locale/Format.php(1106): Zend_Locale_Format::_parseDate('16-02-2013', Array) -#7 /home/daan/domains/../library/Zend/Date.php(4763): Zend_Locale_Format::getDate('16-02-2013', Array)
So the solution is first if you are using linux then give right permission to /var/cache folder, if you are using Window machine then first check in root folder , do you have tmp folder?
If not then please create tmp folder into the root.
Still pertaining with the issue then please check this..
Go to this location lib/Zend/Cache/Backend/ and open file.php file you’ll see the code something like this
protected $_options = array(
‘cache_dir’ => null,
‘file_locking’ => true,
‘read_control’ => true,
‘read_control_type’ => ‘crc32’,
‘hashed_directory_level’ => 0,
‘hashed_directory_umask’=> 0700,
‘file_name_prefix’ => ‘zend_cache’,
‘cache_file_umask’ => 0600,
‘metadatas_array_max_size’ => 100
);
change this code as below
protected $_options = array(
‘cache_dir’ => ‘/var/www/html/raindrops/magento/tmp’,
‘file_locking’ => true,
‘read_control’ => true,
‘read_control_type’ => ‘crc32’,
‘hashed_directory_level’=> 0,
‘hashed_directory_umask’ => 0700,
‘file_name_prefix’ => ‘zend_cache’,
‘cache_file_umask’ => 0600,
‘metadatas_array_max_size’ => 100
);