Welcome to Geeklog Thursday, May 23 2019 @ 09:41 am EDT

Geeklog Forums

some users can't post in forums


DJDevon3

Anonymous
curious
Having an issue where some users can't post. My best guess is it is a cookie issue. Had some users clear their cookies, refresh the browser, log out and login. Still some users can view the forums but can not post/reply. Any hints?

Status: offline

buddilla

Forum User
Newbie
Registered: 31/01/04
Posts: 9
Im Having a simular issue were noone is able to sign in.
try setting your cookie domain.
either way try this geeklog-1.3.8 login

Maybe it will help.
-drew

DJDevon3

Anonymous
OK I cleared my cookies and set domain to 'http://localhost:8090/public_html'

am i correct in assuming this path goes to home/public_html? that is where my index.php is.

Now I noticed an issue when i logged out and cleared my cookies. I am logged out but can still see admin in who's online. What does this mean??? I set my preference to set the cookie for 1 year but It should still be able to recognize when i'm on or off the site right? Help be thine appreciated.

Status: offline

Turias

Forum User
Full Member
Registered: 20/10/03
Posts: 807
Your cookie domain is localhost? That's wrong. Do you have a registered domain? $_DB_host should be that doman. Cookie domain shouldn't even need to be set, but if you do, you should set it to '.domain.com', not localhost

DJDevon3

Anonymous
Why domain.com instead of my registered domain?

Status: offline

Turias

Forum User
Full Member
Registered: 20/10/03
Posts: 807
I said 'domain.com' with the implication that 'domain'=your domain.


DJDevon3

Anonymous
ok lets say i dont want to set the cookie as you stated. should i leave it blank? ' ' also my cookie path is set to '/' is that ok?

Status: offline

Turias

Forum User
Full Member
Registered: 20/10/03
Posts: 807
default values for all cookies stuff should be fine

Status: offline

vinny

Site Admin
Admin
Registered: 24/06/02
Posts: 352
Location:Colorado, USA

Now I noticed an issue when i logged out and cleared my cookies. I am logged out but can still see admin in who's online. What does this mean??? I set my preference to set the cookie for 1 year but It should still be able to recognize when i'm on or off the site right? Help be thine appreciated


If you don't actually follow the "logout" link in Geeklog the Admin won't get cleared from the session list and will appear in the who's online box. Don't worry this is not a security hole. After about five minutes of inactivity Geeklog figures out a user is gone and clears them from the session table.

-Vinny

DJDevon3

Anonymous
I was hoping that would happen because I have noticed it happens for some users but not all. Thing is that it keeps some users logged in for at least a couple of days. These are the users that are reporting to me they can not post/reply.

I mean come on now, who actually uses the log out feature...right? Everyone just closes their browser, surfs out, or manually types in another url. I think logging out yes could be necessary for session id hijacks etc.. but no one really does it. My 2 cents on that.

I'm really stumped as to why some can't post/reply even when logged in. Plus why when not logged in for a couple days they show up in who's online (i call it roll call on my site). Why it happens to one person and not the other is beyond me. You guys are great so far for helping out as much as you can and I thank you very much. Peace.

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Quote by DJDevon3: Thing is that it keeps some users logged in for at least a couple of days.

The Who's Online block only lists the valid, non-expired sessions that exist at the moment. A session will expire after a certain time of inactivity by the user ($_CONF['whosonline_threshold'] holds that amount of time and defaults to 300 seconds). So if a user leaves your site without logging out, they should disappear from the Who's Online block after 5 minutes.



Quote by DJDevon3: they show up in who's online (i call it roll call on my site).

Did you change the name of the block, too? There's a minor design flaw in Geeklog that requires this block to be named "whosonline_block" or it won't work properly.

You can change the block title to anything you want, but the block name should always be "whosonline_block".

bye, Dirk

DJDevon3

Anonymous
i only changed the title the name is still whosonline_block the function is phpblock_whosonline.

well i don't see the two users reporting the error to me in the who's online block now, so maybe whatever was wrong was their fault...unlikely but i can hope.

All times are EDT. The time is now 09:41 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