Re: Trying to start a session
| From: | Jough Jeaux | Date: | Sat, 25 Oct 2003 13:12:18 +0000 |
| Subject: | Re: Trying to start a session | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-167544@lists.php.net to get a copy of this message | ||
There is room left on /tmp. Now that means the 'tmp'
directory under the root directory on the filesystem
right? I don't have to make a directory called 'tmp'
in the DirectoryRoot or someplace else do I?
I also went ahead and chmod 777 /tmp to see if that
would help. It didn't. I had never used the 'sticky
bit'. I went ahead and turned it back on...
--- Marek Kilimajer <kilimajer@webglobe.sk> wrote:
> Is there any space left on /tmp partition?
>
> Jough Jeaux wrote:
> > 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
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com