<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello all,<br>
&nbsp;&nbsp;&nbsp;&nbsp; I only come here as a last resort.&nbsp; I have been trying to solve an
issue for the last 2 days (actually more than that) and have
read/searched all I can on the web to no avail.&nbsp; I have installed the
latest version of pmwiki (2.1.5) running on a hosted site that is using
Linux apache1 2.4.20-28.7 and PHP 4.4.1 (safe mode is ON but I can do
nothing about it).&nbsp; In this environment I have created a farm with
custom skin...and everything is fine.<br>
<br>
Structure of site<br>
- httpDirectory<br>
&nbsp;&nbsp; |<br>
&nbsp;&nbsp; |- pmwikiDirectory (chmod to 777)<br>
&nbsp;&nbsp; |<br>
&nbsp;&nbsp; |- fieldDirecory (chmod to 777)<br>
&nbsp;&nbsp; |<br>
&nbsp;&nbsp; |- tmp (chmod to 777)<br>
<br>
<br>
However if I activate an edit password using the line<br>
<br>
$DefaultPasswords['edit']='opensesame'; /* not real password ;-) */<br>
<br>
&nbsp;in my config.php for the wiki field, things get strange (even tried
this line in the pmwiki field config.php file).&nbsp; The first time though
the password page works fine, but on getting to the edit page I get the
dreaded following lines...<br>
<br>
=========<br>
<b>Warning</b>: session_write_close():
open(/hsphere/local/home/easterns/tmp/sess_0e44bc3f5703840ba202c60038bf8774,
O_RDWR) failed: No such file or directory (2) in <b>/hsphere/local/home/easterns/easternsailplane.com/pmwiki/pmwiki.php</b>
on line <b>1568</b><br>
<br>
<b>Warning</b>: session_write_close(): Failed to write session data
(files). Please verify that the current setting of session.save_path is
correct (/hsphere/local/home/easterns/tmp) in <b>/hsphere/local/home/easterns/easternsailplane.com/pmwiki/pmwiki.php</b>
on line <b>1568<br>
=========<br>
<br>
</b>The path given in the error is correct and I have all the directory
permissions set to 777 in my pmwiki directory, my field directory and
all sub directories/files in these directories and still no joy.&nbsp; I
even made sure that the 'tmp' directory exists and also set it with 777
permissions.&nbsp; When I comment out the $DefaultPasswords line every thing
goes back to normal, but of course no edit password.<br>
<br>
Clicking the Cancel button and going back to the original page I get
the original two warnings and an additional one...<br>
==========================<br>
<b>Warning</b>: session_write_close():
open(/hsphere/local/home/easterns/tmp/sess_0e44bc3f5703840ba202c60038bf8774,
O_RDWR) failed: No such file or directory (2) in <b>/hsphere/local/home/easterns/easternsailplane.com/pmwiki/pmwiki.php</b>
on line <b>1568</b><br>
<br>
<b>Warning</b>: session_write_close(): Failed to write session data
(files). Please verify that the current setting of session.save_path is
correct (/hsphere/local/home/easterns/tmp) in <b>/hsphere/local/home/easterns/easternsailplane.com/pmwiki/pmwiki.php</b>
on line <b>1568</b><br>
<br>
<b>Warning</b>: Cannot modify header information - headers already sent
by (output started at
/hsphere/local/home/easterns/easternsailplane.com/pmwiki/pmwiki.php:1568)
in <b>/hsphere/local/home/easterns/easternsailplane.com/pmwiki/pmwiki.php</b>
on line <b>858<br>
===============<br>
<br>
</b>I have followed through the pmwiki.php code to try and get a clue
but have found none.<b><br>
</b><br>
Thanks for any suggestions or input to solve this issue.<br>
<br>
Andrew<br>
<b><br>
</b><br>
</body>
</html>