[pmwiki-users] session_write_close messages - Solved, I think

Kevin Hayes kevinhayes at adelphia.net
Wed Mar 7 08:18:29 CST 2007


When I put $EnableDiag=1; in config.php, the messages don't appear.
I'm still curious about this, as I think my host may have made some
changes to PHP that caused this and another spate of error messages
this week.

Otherwise, PmWiki is rock-solid as usual.

Tuesday, March 6, 2007, 5:02:18 PM, I wrote:

KH> Without making any changes that I can identify as causing this, I'm
KH> getting these error messages on several of my wikis.

KH> The server's running PHP 4.46, Unix and Apache. I get the same
KH> messages with PmWiki 2.1.26 and 2.20 beta 35. When I run
KH> ?action=phpinfo, no diagnostic info is returned, just the page.

KH> I added this line to a local config file, with no effect. (session.d is
KH> writable (777)):

KH> session_save_path('/home/[deleted]/public_html/pmwiki/session.d');

KH> I'm not using any AuthUser features. The pages display, either before
KH> or after the messages, and I can edit pages successfully.

KH> Errors:

KH> Warning: session_write_close() [function.session-write-close]: The
KH> session id contains invalid characters, valid characters are only a-z,
KH> A-Z and 0-9 in /home/[deleted]/public_html/pmwiki/pmwiki.php on line
KH> 1745

KH> Warning: session_write_close()
KH> [function.session-write-close]: Failed
KH> to write session data (files). Please verify that the current setting
KH> of session.save_path is correct
KH> (/home/[deleted]/public_html/pmwiki/session.d) in
KH> /home/[deleted]/public_html/pmwiki/pmwiki.php on line 1745

KH> Warning: Cannot modify header information - headers already sent by
KH> (output started at
KH> /home/kphayes/public_html/pmwiki/pmwiki.php:1745)
KH> in /home/[deleted]/public_html/pmwiki/pmwiki.php on line 965

KH> Any ideas?

KH> Thanks,

KH> Kevin Hayes





More information about the pmwiki-users mailing list