WG: Still having problems...?!
| From: | info@phpken | Date: | Tue, 10 Dec 2002 22:14:09 +0000 |
| Subject: | WG: Still having problems...?! | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-24039@lists.php.net to get a copy of this message | ||
hello burton,
can you send "session.save_path" from your php.ini here?
a.v.l
"Hartleigh Burton" <hartleigh@channel-x.org> schrieb im Newsbeitrag
news:<2269.202.67.66.239.1039557670.squirrel@www.channel-x.org>...
> Thanks John and Cornelia for a fast response :). I have edited my ini file
> as you suggested, and I changed the code around a bit and experimented a
> bit more with it, but I still have some problems. This is exactly how the
> file looks;
>
> <?
> // page1.php
> session_start();
> $_SESSION["real_name"] = "Hartleigh Burton";
> print "<a href='page2.php'>Go to this page</a>";
> ?>
>
> Nothing more, nothing less. But the problem I am receiving does not seem
> to be based on the PHP, here is the error.
>
> Warning: open(/tmp\sess_1df563d6d8c8b4b16534c438251e7107, O_RDWR) failed:
> No such file or directory (2) in E:\Webroot\tutorial\page1.php on line 3
>
> Warning: open(/tmp\sess_1df563d6d8c8b4b16534c438251e7107, 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
>
> This is the php.ini line; session.save_path = e:\webroot\tmp, and i have
> created the directory tmp in that location. i tried both \'s and /'s for
> that line, not sure as to whether they do any difference or not, and
> restarted the server service both times.
>
>
>
> Hartleigh Burton
> www.channel-x.org
>
>