[pmwiki-users] Session Erors and UserAuth2

Patrick R. Michaud pmichaud at pobox.com
Mon May 21 15:44:21 CDT 2007


On Mon, May 21, 2007 at 04:31:48PM -0400, IchBin wrote:
> Now
> session.bug_compat_42	On	On
> session.save_path	\tmp	 \tmp
> _______________________________________
> 
> WAS
> session.bug_compat_42	Off	Off
> session.save_path	no value no value
> _______________________________________
> 
> 
> I changed them back and I do not get the error. Had to be the 
> session.save_path pointing to an nonexistent subdirectory. I do not 
> remember changing these values but I guess I must have since they are 
> different.
> 
> The only problem now with pmwiki is that I have to enter my password 
> ever time I edit or save a wiki page.
> 
> I have no clue why pmWiki is now not remembering that I am the admin and 
> that I have already entered the admin password.

The reason for this is almost certainly that sessions are not
actually being saved.  

On Unix platforms, using "no value" for session.save_path is
okay.  For many versions of PHP running under windows, the
admin or program has to explicitly set session.save_path in
order for it to work.  The directory has to exist, and PHP has
to have permission to write files into the directory.

Pm



More information about the pmwiki-users mailing list