2009/7/6 Denis Fohl <[email protected]>: > Hi all, > > my app is running fine on my dev box (linux ubuntu) but when i upload it to > my client's production server (fedora / plesk) i have got the following > message : > > 'Zend_Cache_Exception' with message 'Could not determine temp directory, > please specify a cache_dir manually' > > it seems that it is thrown in my index.php where i set the locale : > > Zend_Registry::set('locale', new > Zend_Locale(Zend_Registry::get('currentLang'))); > > If i try to set the temp directory to /tmp : > > Zend_Cache_Backend_File::setCacheDir('/tmp'); > > i've got the following error : > > 'Zend_Cache_Exception' with message 'cache_dir must be a directory' > > although /tmp is a valid directory. > > Thanks for help. > > Denis. > >
Are you sure that the /tmp directory exists and is writeable by the owner of the apache/httpd process? What does ls -l /tmp say? -- Regards, Martin Martinov http://mmartinov.com/
