Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

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

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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

Postby Pim » Tue Aug 06, 2002 4:04 am

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
New php-forum User
New php-forum User
 
Posts: 18
Joined: Tue Aug 06, 2002 3:51 am
Location: Netherlands

Re: Error response in Browser Warning open(/tmp\sess_(nmbrs)

Postby WiZARD » Tue Aug 06, 2002 4:53 am

Pim wrote: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....
User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol

Re: Error response in Browser Warning open(/tmp\sess_(nmbrs)

Postby DoppyNL » Tue Aug 06, 2002 5:14 am

Pim wrote: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.....
DoppyNL
 

Postby Pim » Tue Aug 06, 2002 5:20 am

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
Pim
New php-forum User
New php-forum User
 
Posts: 18
Joined: Tue Aug 06, 2002 3:51 am
Location: Netherlands

Postby Pim » Tue Aug 06, 2002 5:29 am

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
Pim
New php-forum User
New php-forum User
 
Posts: 18
Joined: Tue Aug 06, 2002 3:51 am
Location: Netherlands

Postby DoppyNL » Tue Aug 06, 2002 5:33 am

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
DoppyNL
 

Postby WiZARD » Tue Aug 06, 2002 6:03 am

Pim wrote: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....
User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol


Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron