01061: System no longer remembers passwords

Summary: System no longer remembers passwords
Created: 2009-01-16 12:31
Status: Open
Category: Cookbook
From: Matt
Priority: 5
Version: 2.1.27
OS: WinXP/Apache 2.2.4 (Win32, WAMP)/ PHP 5.2.3

Description: I've had this wiki running for 2 years now without any problems. Wiki is running UserAuth2 for login. 5 few days ago I updated the skin from Newspaper to Maguila. Logged in as admin, made a bunch of changes/updates. No problems. 2 or 3 days ago log in problems arose. If I provide an incorrect username or password I get the standard error message (that's good). If I provide proper username and password the correct page shows up, but it seems all log in information is forgotten. I have a script in my page that states that if the user ID doesn't exist, the person is given the name "guest". When I log in now, instead of saying "admin", it just says "guest." I can no longer edit or view password protected pages. I tried changing the skin back (don't know why that would matter), and, as expected, the problem still remains.

In summary: Wiki and log in worked for 2 years Updated skin 5 days ago Wiki and log in worked for 2 days Can now log in, but I seem to be logged out immediately (no error message; log in seems to proceed properly)

First thing to check is do PHP sessions are correctly created and stored. I know hostings where you need to create a special "sessions" directory on the server root, for sessions to work. Other thing to check is is your browser accepting and saving cookies (have you recently changed your browser, or installed a new proxy?). Lastly, it could be a problem with UserAuth2, in which case you may contact the developer directly. UserAuth was recently updated, make sure you test the laatest version. --Petko January 31, 2009, at 04:32 PM