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
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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.