Home »
FUDforum Development »
Bug Reports »
Random forum lockouts...
Re: Random forum lockouts... [message #41023 is a reply to message #41013] |
Thu, 08 May 2008 16:23 |
krbvroc1
Messages: 31 Registered: February 2005
Karma:
|
Member |
|
|
This happened from completely different computers.
We traced the problem down to the following:
We have external code that populates the fud26_users table from another database source (single sign on).
When I cleared out the fud26_users table to import that info, the special magical 'Anonymous Coward' user with id 1 is removed. If that id is removed, it is impossible to log into the forum even as admin because 'guests' are mapped to that id 1 when it comes to session management. FUDforum issue an invalid SQL command because it leaves off the id in the WHERE clause during ses_update_status().
You can reproduce this simply by removing id 1.
Now we know that we need to leave the special user with id 1 alone or fudforum is inoperable (even adm).
The lesson is that if you ever custom populate your users table be sure to keep/insert the id 1.
|
|
|
Goto Forum:
Current Time: Sun Nov 24 02:49:24 GMT 2024
Total time taken to generate the page: 0.03900 seconds