ID: 5370
Comment by: [EMAIL PROTECTED]
Old Reported By: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Feedback
Bug Type: Session related
Operating System: Windows 98
PHP Version: 4.0.1pl2
New Comment:

I'm getting this error msg:

Warning: open(/tmp\sess_021e6dafeb513b539d491681bfc95c73, O_RDWR)
failed: No such file or directory (2) in c:\programme\apache
group\apache\htdocs\voba_wangen\inc.frontend.funcs.php on line 468

on our linux machine it works great. only win98 sucks :(

i tried to set an absolute path like [EMAIL PROTECTED] said, but it didn't
help :(


Previous Comments:
------------------------------------------------------------------------

[2002-01-14 15:12:48] [EMAIL PROTECTED]

FAT 32 bit
modified time?
Where is the registration form on this site?

------------------------------------------------------------------------

[2002-01-12 20:57:31] [EMAIL PROTECTED]

What kind of FAT file system are you using?
(i.e. Does the file system support modified time?)

I believe you are using newer PHP, don't you? Please update Version
field.

PS: Change status to "Open" if you reopen bug report :)

------------------------------------------------------------------------

[2002-01-12 04:25:08] [EMAIL PROTECTED]

Don't use the testing program I posted, I forgot it was tied to a
database.

------------------------------------------------------------------------

[2002-01-12 03:46:20] [EMAIL PROTECTED]

I get these 3 warnings on Windows 98 4.10.2222A, Apache 1.3.14, PHP
4.0.3pl1:

Warning: open(\tmp\sess_906cf0440e666cf0f87ea4bbee139c97, O_RDWR)
failed: m (2) in c:\program files\Apache
Group\Apache\htdocs/session2.php on line 2

Warning: open(\tmp\sess_906cf0440e666cf0f87ea4bbee139c97, O_RDWR)
failed: m (2) in Unknown on line 0

Warning: Failed to write session data (files). Please verify that the
current setting of session.save_path is correct (\tmp) in Unknown on
line 0

The following solved the problem:

Make sure you are editing the php.ini file found in the Php\ directory,
not in the windows\ directory.

Set the session.save_path to an absolute path, relative paths (like
/tmp) don't work.

For example:

session.save_path = C:\Program Files\Apache Group\Apache\htdocs\tmp

I used this prog for testing:

<?php
session_start();
session_register("your_name");
if(!empty($your_name))
{
        echo "I already know your name, $your_name";
}
elseif(empty($your_name)&&!isset($submit))
{
        echo "<form name=myform method=post action=$PHP_SELF>
                <input type=text name=first_name> first name<br>
                <input type=text name=last_name> last name<br>
                <input type=submit name=submit value=submit>
                </form>";
}
elseif(isset($submit)&&empty($your_name))
{
        $your_name=$first_name . " " . $last_name;
        echo "Thank you, $your_name";
}
?>

------------------------------------------------------------------------

[2000-08-01 22:43:39] [EMAIL PROTECTED]

no feedback, closed

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/?id=5370


Edit this bug report at http://bugs.php.net/?id=5370&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to