title: Zend Framework : Could not determine temp directory, please specify a cache_dir manually
body: <p>I am just learning Zend Framework. I created a simple Zend_Form and when I submitted the form I got following error:</p>
  
  <pre><code>An error occurred
  Application error
  Exception information:
  
  Message: Could not determine temp directory, please specify a cache_dir manually
  Stack trace:
  
   - 0 H:\Documents\IIS_Server_Root\zendframework\Zend\Cache\Backend.php(197): Zend_Cache::throwException('Could not deter...')
   - 1 H:\Documents\IIS_Server_Root\zendframework\Zend\Cache\Backend\File.php(123): Zend_Cache_Backend-&gt;getTmpDir()
   - 2 H:\Documents\IIS_Server_Root\zendframework\Zend\Cache.php(153): Zend_Cache_Backend_File-&gt;__construct(Array)
   - 3 H:\Documents\IIS_Server_Root\zendframework\Zend\Cache.php(94): Zend_Cache::_makeBackend('File', Array, false, false)
   - 4 H:\Documents\IIS_Server_Root\zendframework\Zend\Locale\Data.php(314): Zend_Cache::factory('Core', 'File', Array, Array)
   - 5 H:\Documents\IIS_Server_Root\zendframework\Zend\Locale\Format.php(808): Zend_Locale_Data::getList('en_US', 'day')
   - 6 H:\Documents\IIS_Server_Root\zendframework\Zend\Locale\Format.php(1118): Zend_Locale_Format::_parseDate('12/12/2010', Array)
   - 7 H:\Documents\IIS_Server_Root\zendframework\Zend\Date.php(4765): Zend_Locale_Format::getDate('12/12/2010', Array)
   - 8 H:\Documents\IIS_Server_Root\zendframework\Zend\Validate\Date.php(175): Zend_Date::isDate('12/12/2010', 'MM-DD-YYYY', NULL)
   - 9 H:\Documents\IIS_Server_Root\zendframework\Zend\Form\Element.php(1395): Zend_Validate_Date-&gt;isValid('12/12/2010', Array)
   - 10 H:\Documents\IIS_Server_Root\zendframework\Zend\Form.php(2252): Zend_Form_Element-&gt;isValid('12/12/2010', Array)
   - 11 H:\Documents\IIS_Server_Root\localhost\zfprojects\zf_cms\application\controllers\BugController.php(30): Zend_Form-&gt;isValid(Array)
   - 12 H:\Documents\IIS_Server_Root\zendframework\Zend\Controller\Action.php(513): BugController-&gt;submitAction()
   - 13 H:\Documents\IIS_Server_Root\zendframework\Zend\Controller\Dispatcher\Standard.php(295): Zend_Controller_Action-&gt;dispatch('submitAction')
   - 14 H:\Documents\IIS_Server_Root\zendframework\Zend\Controller\Front.php(954): Zend_Controller_Dispatcher_Standard-&gt;dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
   - 15 H:\Documents\IIS_Server_Root\zendframework\Zend\Application\Bootstrap\Bootstrap.php(97): Zend_Controller_Front-&gt;dispatch()
   - 16 H:\Documents\IIS_Server_Root\zendframework\Zend\Application.php(366): Zend_Application_Bootstrap_Bootstrap-&gt;run()
   - 17 H:\Documents\IIS_Server_Root\localhost\zfprojects\zf_cms\public\index.php(26): Zend_Application-&gt;run()
   - 18 {main}  
  </code></pre>
  
  <p>Request Parameters:</p>
  
  <pre><code>array (
    'controller' =&gt; 'bug',
    'action' =&gt; 'submit',
    'module' =&gt; 'default',
    'author' =&gt; '7676',
    'email' =&gt; 'ankur_gupta555@yahoo.com',
    'date' =&gt; '12/12/2010',
    'url' =&gt; 'http://blogs.antarjaal.in/takneek/?p=1354',
    'description' =&gt; 'tytytyty t',
    'priority' =&gt; 'low',
    'status' =&gt; 'new',
    'submit' =&gt; 'Submit',
  )  
  </code></pre>
  
  <p>System config:</p>
  
  <ul>
  <li>Windows 7 </li>
  <li>IIS 7.5</li>
  <li>PHP 5.3</li>
  <li>Zend Framework 1.11.4</li>
  </ul>