Difference between revisions of "Post-Installation"

From GeeklogWiki
Jump to: navigation, search
(Geeklog wont let me login!)
 
(added note about register_globals)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
The username & password is correct, there is no failure-msg, but still I am not logged in?
+
'''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:
 
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:
+
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
+
<pre>php_flag register_globals on</pre>
  
 
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'] = ....
 
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'] = ....
Line 11: Line 16:
 
It might be best to set it to  
 
It might be best to set it to  
  
$_CONF['cookiedomain']=$_SERVER["HTTP_HOST"];
+
<pre>$_CONF['cookiedomain'] = $_SERVER["HTTP_HOST"];</pre>
  
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.
+
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 "apple.com".
+
Otherwise set it to the domain that the user sees when accessing your site, such as "geeklog.net".

Latest revision as of 12:51, 6 May 2009

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".