Welcome to Geeklog, Anonymous Saturday, November 30 2024 @ 05:39 am EST

Geeklog Forums

login problems


Status: offline

micahmj11

Forum User
Junior
Registered: 10/11/02
Posts: 20
This issue seems to have been discussed previously, but none of the advise given has helped me. I have just installed geeklog 1.3.7sr2. When ever i log on, instead of showing the user functions block or the admin functions block, it continues to show the login block. But the who's online shows that the user is logged on. This same issue has suddenly started happening with another site i host which also uses geeklog. Things were fine with the login until recently. My web host did recently decide to turn on safe mode. Could this be causing the problem? any other ideas. Micah
 Quote

Status: offline

rawdata

Forum User
Full Member
Registered: 02/17/03
Posts: 236
I don't think the problem is safe_mode. One of my GL sites runs fine with it on except the default backup doesn't work. I bet your host did more than just turn safe_mode on...probably wiped out a setting. Mine has done that a few times to me. If you refresh the page does the user/admin functions show up then? Do you get the same results using a different browser? If they appear after you refresh the page one or more times, then it's a caching problem. You should be able to fix it by inserting this at the top of header.thtml file:
Text Formatted Code
<?php
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified
header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache"); // HTTP/1.0
?>
 Quote

Status: offline

anuenue

Forum User
Junior
Registered: 02/01/03
Posts: 32
I have the same problem with a GL server on my local network. The ony way I can login is if I try to login to the admin pages. It takes two attempts before I get in.
 Quote

Status: offline

rawdata

Forum User
Full Member
Registered: 02/17/03
Posts: 236
Did you try fixing your cookies or removing the redirect code in index.php?
 Quote

Status: offline

anuenue

Forum User
Junior
Registered: 02/01/03
Posts: 32
I run two GL sites on public servers with no login issues. These two sites have basically the same settings as the one on my local network which does have login issues. As best as I can tell there are no problems with my cookies. I have not changed any of the redirect code in any of the index.php files.
 Quote

Status: offline

jlhughes

Forum User
Full Member
Registered: 04/25/02
Posts: 154
In my experience, this is most often caused by problems with storing cookies. On my sites the problem is caused by the "privacy" setting in Internet Explorer 6. To test if this is an IE problem, install Netscape and see if you get the same problem. You also might check to see if the base URL specified in the config.php is the same URL you are entering the site from. If not, then that (in conjunction with IE) could cause cookie problems.
 Quote

Status: offline

rawdata

Forum User
Full Member
Registered: 02/17/03
Posts: 236
Scripts do not work 100% the same on every single server setup. Almost everything is solvable though if a person is willing to take the time to pinpoint the problem. You posted right here that you had to adjust the values on a couple cookies just to login to admin. I asked because I wanted to know if you had tried my suggestion back then.

The majority of new people who come here never say whether a suggestion fixed their problem or if they even bothered to try it. Some do but most don't. I've often felt I might be wasting my time trying to help out newbies. Thanks for verifying that I really am. Well, I've got a ton of other things on my plate to do. Have a good one.
 Quote

Status: offline

anuenue

Forum User
Junior
Registered: 02/01/03
Posts: 32
Thanks for pointing me back to my original post. I didn't see that you had replied. I will try that see what happens. It might also be helpful to know that using Mozilla Firebird 0.6, I cannot login at all. Neither through the main index page or the index page of the admin directory.
 Quote

Status: offline

micahmj11

Forum User
Junior
Registered: 10/11/02
Posts: 20
i was unable to pinpoint the problem, so i just installed geeklog from scratch and everything is working fine.
 Quote

Mo

Anonymous
tired
hey whatz up? i just installed 1.3.8.rc2 a clean installation. everything was fine until when i tired to login! The Who\'s online show\'s 1 guest user so i logedin as an admin, used the defualt password, when i press loged it refreshs the page, it still show\'s the Username & Password text boxs, however, under Who\'s online, it show\'s Admin I also, tired to loged in the Admin page, when i press on Login it takes me to a diff page, which says logout and there\'s a big hand and it kicks me out automaticlly!! it takes me back to the admin login page! anyway, why am having this prob? thank you Smile
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by Mo: it refreshs the page, it still show\'s the Username & Password text boxs, however, under Who\'s online, it show\'s Admin
Make sure you have cookies enabled in your browser. Also, if you\'ve installed an older version of Geeklog before, it may help if you remove the old Geeklog cookies from your browser first.
I also, tired to loged in the Admin page, when i press on Login it takes me to a diff page, which says logout and there\'s a big hand and it kicks me out automaticlly!! it takes me back to the admin login page!
Err, excuse me? bye, Dirk
 Quote

Status: offline

Ectropian

Forum User
Chatty
Registered: 06/19/02
Posts: 61
Dirk, I walked him through changing default cookie name etc in the config, as well as deleting old cookies. I personally cannot login as admin with default username admin/password, so there seems to be something else wrong with his install. He\'s running on IIS, and it\'s possible the password from the SQL isn\'t being interpreted correctly? I noticed the raw passwords are encrypted now. Just a thought.
--Ted(Ectropian)
 Quote

Status: offline

anuenue

Forum User
Junior
Registered: 02/01/03
Posts: 32
It takes him to the admin main menu where you see the logout icon (octagon with a hand in the middle) before redirecting to the login page. The page usually loads one other icon before getting redirected, for me anyway. I get the same thing when logging into a site on my local network.
 Quote

Alan LeFort

Anonymous
I have experienced the same problem as of late with gl 1.3.8.rc2. Platform is as follows: Redhat 9, PHP 4.2.2, Mysql 4.1 I have the install working just fine. Then I get the default page where i can login as administrator/password and when I try the authentication succeeds and in who\'s logged in block it shows admin however the admin block does not appear and the login block remains. Any attempt to access admin functions subsequent to that fails. I have cleared cookie caches, i have rebuilt it multiple times on multiple machines and still cannot get the login working. Something is causing the code to not work and I dont think its cookies. Somewhere after the authentication function is called and returns an ok, when the page is reloaded, the credentials are not processed correctly and access is not provided according to those credentials. hope this helps diagnose the problem as it seems to be common among a few people here. Regards, Alan
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Another thing you could try is set the \'cookiedomain\' variable in config.php: $_CONF[\'cookiedomain\'] = \'.example.com\'; where \"example.com\", obviously, is your domain name (note the extra \'.\' in front of it). If you\'re running two sites on the same domain, you may need to add the subdomain name there or set $_CONF[\'cookie_path\'] as well. bye, Dirk
 Quote

All times are EST. The time is now 05:39 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content