RE: Session error?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Just put the full path of the dir.

For instance I placed mine at C:\php\session to keep things separated.

-M

-----Original Message-----
From: Tim Winters [mailto:csnm@samplingtechnologies.com] 
Sent: Monday, June 23, 2003 12:31 PM
To: 'CPT John W. Holmes'; php-db@lists.php.net
Subject: RE:  Session error?

Thanks John,

So is that address relative to the physical machine or is it relative to
the directory where the php files are contained.

Tim Winters
Creative Development Manager
Sampling Technologies Incorporated

1600 Bedford Highway, Suite 212
Bedford, Nova Scotia
B4A 1E8
www.samplingtechnologies.com
webmaster@samplingtechnologies.com
csnm@samplingtechnologies.com
Office: 902 450 5500
Cell: 902 430 8498
Fax:: 902 484 7115


-----Original Message-----
From: CPT John W. Holmes [mailto:holmes072000@charter.net] 
Sent: June 23, 2003 11:40 AM
To: csnm@samplingtechnologies.com; php-db@lists.php.net
Subject: Re:  Session error?

> Warning: session_start() [ <http://www.php.net/function.session-start>
> function.session-start]:
> open(/tmp\sess_bf0c0a0a020087aa573e357a2553f828, O_RDWR) failed: No
such
> file or directory (2) in C:\Program Files\Apache
> Group\Apache2\htdocs\MailOrderDynamic\c.php on line 6

The default session.save_path in php.ini is set to /tmp. It appears
you're
on a windows machine and probably do not have a c:\tmp directory. Either
create one (if that's where you want to store your session files) or
change
the path in php.ini to some other folder that exists. Ensure the Apache
user
has permission to write to the folder you specify, also.

The other errors are caused by the output of your first error.

---John Holmes...


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux