Have you tried clearing your cookies? There was a time when I would get an error when attempting to log out, and clearing my cookies fixed that issue.
Though there seems to be quite a few glitches around here as of late. I'm still getting a database error whenever I click on the list of online users, this has been going on for about a month now. Interestingly, the list only works whenever MegaByte is online.