Welcome to Geeklog Tuesday, May 21 2013 @ 02:00 PM EDT
A typical login problem is where your username shows up in the Who's Online block but you still get the login form instead of the user settings (and admin options, if you're an admin).
First, some background information: When you login, i.e. when you enter a valid username and password, Geeklog creates a session for you. What the Who's Online block displays are actually only the valid sessions at the moment, which, as you found out when you have that problem, does not always mean the same as logged-in users. Once a session has been created, Geeklog will send out a cookie containing that session's id. After that, Geeklog will attempt to read back that cookie and compare the session id with the session id it has stored in the database. Only when those two are identical will you be recognised as being logged in.
So, in most cases, the problem is with the cookies. Here are some of the most common causes:
$_CONF['cookiedomain'] variable to point to the real domain, not to the domain that's displayed in the browser's URL field in such a case.$_CONF['cookiedomain'] may also help when you have more than one Geeklog site under one domain (e.g. on different subdomains or subfolders).register_long_arrays = On in your php.ini. Also see Geeklog on PHP 5.FAQ Manager » Common problems » I can't log in.