Jump to content

php session_start() error


adrive

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/80094-php-session_start-error/
Share on other sites

: 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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.