Jump to content

Recommended Posts

[code]Warning: session_start() [function.session-start]: open(/tmp\sess_63a3q4s85t3esvcl6c2lvq6216, O_RDWR) failed: No such file or directory (2) in D:\work\rrrrrr.com\search02.php on line 2[/code]

that error comes from the following few lines of code [code]session_start();
//include("header.php");
//global $type;
$type=$_REQUEST['type'];
echo ">>>>>".$type;[/code]

as you can see i tried to remove other bits of code with no joy. Is this a tmp directory problem?

thanks
mojito
Link to comment
https://forums.phpfreaks.com/topic/12412-session_start/
Share on other sites

[!--quoteo(post=385789:date=Jun 19 2006, 08:08 PM:name=kenrbnsn)--][div class=\'quotetop\']QUOTE(kenrbnsn @ Jun 19 2006, 08:08 PM) [snapback]385789[/snapback][/div][div class=\'quotemain\'][!--quotec--]
That error is saying that the directory where PHP wants to store the file for the sessions either does not exists or is set to readonly. Check you PHP.INI file to see where it is pointing and fix your problem.

Ken
[/quote]

ok ,thanks for that, its strange as it creates a 0mb file in that directory and xp cant set the readonly attribute. But i can create files etc in this directory.
thanks though.

m
Link to comment
https://forums.phpfreaks.com/topic/12412-session_start/#findComment-47472
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.