Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Tuesday, May 21 2013 @ 05:05 AM EDT


 Forum Index > Support > General Geeklog Support New Topic Post Reply
 login problems
   
micahmj11
 06/12/03 11:58PM (Read 1606 times)  
++---
Junior

Status: offline


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

 
Profile Email Website
 Quote
rawdata
 06/13/03 08:18AM  
+++++
Full Member

Status: offline


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:

PHP 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
?>


 
Profile Email
 Quote
anuenue
 06/13/03 11:32AM  
++---
Junior

Status: offline


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.

 
Profile Email Website
 Quote
rawdata
 06/13/03 11:42AM  
+++++
Full Member

Status: offline


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

 
Profile Email
 Quote
anuenue
 06/13/03 12:19PM  
++---
Junior

Status: offline


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.

 
Profile Email Website
 Quote
jlhughes
 06/13/03 03:18PM  
+++++
Full Member

Status: offline


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.

 
Profile Email Website
 Quote
rawdata
 06/13/03 04:51PM  
+++++
Full Member

Status: offline


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.

 
Profile Email
 Quote
anuenue
 06/14/03 11:10AM  
++---
Junior

Status: offline


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.



 
Profile Email Website
 Quote
micahmj11
 06/14/03 05:06PM  
++---
Junior

Status: offline


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.

 
Profile Email Website
 Quote
Anonymous: Mo
 07/14/03 01:37PM  

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
Dirk
 07/14/03 01:52PM  
AAAAA
Admin

Status: offline


Registered: 01/12/02
Posts: 13027
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

 
Profile Email Website
 Quote
Ectropian
 07/14/03 02:00PM  
+++--
Chatty

Status: offline


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)
 
Profile Email Website
 Quote
anuenue
 07/14/03 02:01PM  
++---
Junior

Status: offline


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.

 
Profile Email Website
 Quote
Anonymous: Alan LeFort
 07/14/03 02:31PM  



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
Dirk
 07/14/03 02:49PM  
AAAAA
Admin

Status: offline


Registered: 01/12/02
Posts: 13027
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

 
Profile Email Website
 Quote
Content generated in: 1.81 seconds
New Topic Post Reply

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