Is PHP running as a module in Apache/IIS? If yes then you will need to
bounce your web server to pick up the new ini settings...
Rich

-----Original Message-----
From: Hartleigh Burton [mailto:[EMAIL PROTECTED]]
Sent: 10 December 2002 14:01
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Still having problems...?!


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


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

Reply via email to