Post-Installation

From GeeklogWiki
Revision as of 12:51, 6 May 2009 by Dirk (talk | contribs) (added note about register_globals)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Note: Geeklog 1.4.0 and later do not require register_globals to be "on" any more, so that part of this article is no longer relevant.


I can not login

The username & password is correct, there is no failure message but still I am not logged in?

Check the following two things:

Do you have "Register Globals OFF"? It must be ON for Geeklog. You can set this on Apache with a .htaccess-file. create an empty file in the public_html directory called ".htaccess" and put the following line into it:

php_flag register_globals on

If you have this, and still have the problem, check your cookie-settings. You have to have them enabled on your browser. Further, the cookie-domain has to match your current domain. For this, check your config.php. There is a value called $_CONF['cookiedomain'] = ....

It might be best to set it to

$_CONF['cookiedomain'] = $_SERVER["HTTP_HOST"];

so automatically the current domain is used. This is very useful if you have a copy of your geeklog site on your local PC for testing.

Otherwise set it to the domain that the user sees when accessing your site, such as "geeklog.net".