Error response in Browser Warning open(/tmp\sess_(nmbrs), O_

A

Anonymous

Guest
Hello,

I'm planning to create an application and startingup MYSQL, PHP and Apache.

The normal pages load normally. Adding things to my databases as a normal person. But when I want to load admin kind of pages I get the following error messages in my browser.

Anyone any idea what the cause is?

Error response in Browser Warning open(/tmp\sess_(nmbrs), O_RDWR) failed: No such file or directory (2) in c:\(path)\guestbook2k\win_authentitcate.php on line 35.

win_authentitcate.php

session_register("PHP_AUTH_USER");
session_register("PHP_AUTH_PW");
session_register("valid_user");

Anyone any idea what causes the error.

Kind regards,
Pim Tjeertes
 
Pim said:
Hello,

I'm planning to create an application and startingup MYSQL, PHP and Apache.

The normal pages load normally. Adding things to my databases as a normal person. But when I want to load admin kind of pages I get the following error messages in my browser.

Anyone any idea what the cause is?

Error response in Browser Warning open(/tmp\sess_(nmbrs), O_RDWR) failed: No such file or directory (2) in c:\(path)\guestbook2k\win_authentitcate.php on line 35.

win_authentitcate.php

session_register("PHP_AUTH_USER");
session_register("PHP_AUTH_PW");
session_register("valid_user");

Anyone any idea what causes the error.

Kind regards,
Pim Tjeertes

What version of Apache and PHP?
maby you have mistake in some string in http.cfg or not include auth.co library....
 
Pim said:
Error response in Browser Warning open(/tmp\sess_(nmbrs), O_RDWR) failed: No such file or directory (2) in c:\(path)\guestbook2k\win_authentitcate.php on line 35.
looks like you've got a misconfiguration in you're php.ini file.
the bold piece is the path to the session-file. wich is half unix half windows.....
 
Hello Wizard,

Versions are:
PHP : 4.1.2
Apache : 1.3.9
mysql : 3.23.28-gamma server
3.23.22-beta client

regards,
Pim
 
Hello,

Wizard you were right!

session.save_path in PHP.INI was still '/'

I Changed it to an complete dos line. I was thinking does this path has to be related to HTDOCS from the browser session or can it be any path on the machine.

Kind regards,
Pim
 
session.save_path is the path where the session-files will be stored.
Can be any path on you're machine, there is no need to put this in a particular place and I suggest you DO NOT place it in you're www-dir

And I guess we got 2 wizzards here then :)
lol
 
Pim said:
Hello,

Wizard you were right!

session.save_path in PHP.INI was still '/'

I Changed it to an complete dos line. I was thinking does this path has to be related to HTDOCS from the browser session or can it be any path on the machine.

Kind regards,
Pim
You're welcome! :)
I'm too have in sometime this mistake....
 
Back
Top