adrive Posted December 4, 2007 Share Posted December 4, 2007 Hi guys, occasionally i'm getting this very weird error whenever i call session_start(); on my php page. Notice: session_start() [function.session-start]: ps_files_cleanup_dir: opendir(C:\WINDOWS\TEMP\) failed: No error (0) in C:\public_html\MyNotes\index.php on line 4 What does it actually mean? And why does it only happen occasionally? which is quite annoying since it'll make my page jumbled up, not loading proper css. Quote Link to comment Share on other sites More sharing options...
PHP_PhREEEk Posted December 4, 2007 Share Posted December 4, 2007 http://www.google.com/search?q=ps_files_cleanup_dir Lots of stuff to absorb... PhREEEk Quote Link to comment Share on other sites More sharing options...
adrive Posted December 4, 2007 Author Share Posted December 4, 2007 well i'm running it on IIS, windows xp. the following site describes debian : http://bugs.php.net/bug.php?id=20720 does this mean i have to do garbage collection myself and switch off the probability of php to do its own? Quote Link to comment Share on other sites More sharing options...
PHP_PhREEEk Posted December 4, 2007 Share Posted December 4, 2007 : shrug : That bug was first reported in 2002, then basically relegated to not a bug overall, only to some... lol Thing is, you're not getting a permissions error, so that's kind of strange... What PHP ver are you running? As mentioned, an error suppressor in front seems a valid solution since the error does not seem to harm the session itself. Can you verify that your session is stable? So: <?php @session_start(); should stop your page from being jumbled. If your session is stable, I wouldn't lose much sleep over this. PhREEEk Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted December 4, 2007 Share Posted December 4, 2007 I recommend not using the default Windows temp folder and instead make a dedicated folder, such as C:\tmp, that will only be used by php. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.