From time to time, randomly and very rarely, I get this message on my CakePHP site:
Notice (8): session_start(): ps_files_cleanup_dir: opendir(C:\WINDOWS\TEMP) failed: No such file or directory (2) [CORE\Cake\Model\Datasource\CakeSession.php, line 615]
Why is this happening?
I am using sessions all the time since the user gets in so… why do I only get this message from time to time and so rarely?
I am using Windows Server 2003 over IIS 6 but i get the exactly same problem over Windows 7 and IIS 7.
It seems that either there is no
C:\WINDOWS\TEMPdirectory or it is not writable by the IIS User.That’s why it cant open a new session.
There could also be a dead-lock or write-lock on the disc, but this is highly unlikely. Check the users that are trying to access that folder.