Difference between revisions of "Post-Installation"

From GeeklogWiki
Jump to: navigation, search
Line 1: Line 1:
 +
== I can not login ==
 +
The username & password is correct, there is no failure-msg, but still I am not logged in?
  
 +
Check the following two things:
 +
 +
Do you have "Register Globals OFF"? It mus 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 usefull 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".
 +
----

Revision as of 11:34, 2 July 2004

I can not login

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

Check the following two things:

Do you have "Register Globals OFF"? It mus 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 usefull 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".