I'm no genius with PHP so the following could be the mutterings of a deranged hermit, but my path is set in php.ini as
session.save_path = /php/sessiondata
I also needed to specifically grant the user I run the web server as permissions to that directory. (Right click, Properties, Security, add or select the web server user, ensure they have read/write permissions to the directory.)
I don't know if / is drastically different from \ on a Win32 platform under PHP. My gut feeling is no, your path is correct but your permissions aren't. You can specify the drive letter as well, i.e. session.save_path = c:/php/sessiondata
The second and third errors are caused by the first. The first error causes premature output of HTML - the error message. PHP isn't finished initializing the connection and continues to attempt to send header information, causing the 2nd and 3rd error.
Brian Schkerke Lead Developer NETCO, Inc. http://www.netcotitle.com (636) 925-8657
-----Original Message----- From: sam [mailto:samzhao2002@163.com] Sent: Wednesday, March 17, 2004 1:41 AM To: schkerke Subject: [bmschkerke] [Wikitech-l] Question about Install on Win2K
I tried using In-place web install of mediawiki-1.2.0rc4.tar.gz on Win2k, it is said that the installation is successful, and the first page is OK ,but when i try to Edit any page, lots of errors:
Warning: session_start(): open(/tmp\sess_a12e331b155be7b080c8a358361d0dd1, O_RDWR) failed: No such file or directory (2) in C:\myweb\mediawiki\includes\User.php on line 146
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\myweb\mediawiki\includes\User.php:146) in C:\myweb\mediawiki\includes\User.php on line 146
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\myweb\mediawiki\includes\User.php:146) in C:\myweb\mediawiki\includes\User.php on line 146 ........................ Somebody said it's because my PHP is misconfiged, change session.save_path to a path that exists. So I set session.save_path = C:\win\temp and restart apache, but nothing changed, still lots of warnings on the page.
_______________________________________________ Wikitech-l mailing list Wikitech-l@Wikipedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l