From: Tom C. <li...@to...> - 2004-07-30 03:06:45
|
On Wednesday 28 Jul 2004 08:37, ru...@x-... wrote: > > I'm getting in a real muddle here. I abandoned database auth, and went > > with file. I've got my htpasswd file set-up, and it seems to be working > > with PhpWiki. But the behaviour is completely useless. > > > > If I go to a page I have permission to edit, and sign in, it tells me by > > the sign in box that I am "Authenticated as community". If I then try > > to edit the page, it asks me to login again, saying: "Editing pages is > > disallowed on this wiki for not authenticated user 'community' (level: > > ANON)." So I login, change the page, and hit the submit button. It asks > > me to login *again*, which I do, and it works. Now, by the sign in box > > it tells me "You are signed but not authenticated as community". So I > > have to sign in *again* to do anything else. > > Simple answer: > Your sessions are lost. Try the other DB_SESSION options. > If this doesn't work also, report your version, database backend and php > version. As I mentioned in my other e-mail, I seem to have stumbled upon some bugs in the SQL session code. But I cannot find any useful source of information on session options. So far I've tried setting "USE_DB_SESSION = false", which makes no discernable difference (i.e. sessions are still lost), but I can't fathom what other options exist. To make things stranger still, sessions work fine for admin, but not for the user account. So if someone could point me to or provide me with the session options, and some guidance, I'd be extremely grateful. Regards, Tom |