Re: Trying to start a session
| From: | Ed van der Mark | Date: | Sat, 25 Oct 2003 10:42:26 +0000 |
| Subject: | Re: Trying to start a session | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-167535@lists.php.net to get a copy of this message | ||
If you are using Windows try C:\windows\temp as /tmp directory.
Ed
"Jough Jeaux" <phpjough@yahoo.com> schreef in bericht
news:20031025054910.35705.qmail@web11904.mail.yahoo.com...
> The very simple following script:
> <?
> session_start();
> ?>
>
> Produces an error that says it can't write the file
> for the session.
>
> The permissions for /tmp are rwxrwxrwt
>
> Any ideas on how I can fix this?
>
> Thanks!
>
> These are the exact errors:
> Warning:
> open(/tmp/sess_54e80d88f91dae66fa58b1aa262a9417,
> O_RDWR) failed: No such file or directory (2) in
> /nex/htdocs/login/try.php on line 2
>
> Warning:
> open(/tmp/sess_54e80d88f91dae66fa58b1aa262a9417,
> O_RDWR) failed: No such file or directory (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
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com