Announcement

Collapse
No announcement yet.

Can't login if "Remember me" isn't checked

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ElForro
    replied
    Thanks Jake,

    I think the problem is not with the IP, but with the session. I don't know if I can explain it right.

    Since the problem appears only when you don't mark the "remember me" option, it seems to be trying to renew the cookie each time a page is loaded. That's why you see the "welcome" message, but then if you are redirected to the home page into other backend, the session is lost and the cookie stops working. Maybe some problem with the php sessions shared between the backends.

    I'm waiting to my hosting company support to check this

    Leave a comment:


  • Jake Bunce
    replied
    Some server setups can cause problems with vBulletin's IP detection which can in turn cause problems with the login system. For example, some proxy setups will cause vBulletin to see only the IP of the proxy server and not the user.

    Do you have phpmyadmin on your server? If so, use it to examine the records in the "session" table. Check the IP addresses of the session records. Look for incorrect IPs.

    Problems with IP detection can usually be fixed by editing the "includes/class_core.php" file. Find this code:

    Code:
    // fetch client IP address
    $registry->ipaddress = $this->fetch_ip();
    define('IPADDRESS', $registry->ipaddress);
    Replace it with this code:

    Code:
    // fetch client IP address
    $registry->ipaddress = $this->fetch_alt_ip();
    define('IPADDRESS', $registry->ipaddress);
    Just add "_alt" so you get "fetch_alt_ip".

    Leave a comment:


  • ElForro
    replied
    Apparently is an issue with the php sessions between the backends [we have 9 servers running the forums]

    We couldn't solve the problem yet, but I think there's the problem

    Leave a comment:


  • Jake Bunce
    replied
    You already tried what I was going to suggest. But note the final paragraph of my canned response:

    _____

    Many portals and other addons will modify login forms and links to use full URLs which can cause these kinds of login problems. Sometimes you can fix this by editing the cookie domain:

    Admin CP -> vBulletin Options -> Cookies and HTTP Header Options

    Try using a cookie domain like this (which uses your domain name, including the beginning dot):

    .domain.com

    That will make it so your forum cookies work from any subdomain of your domain, with or without "www". You will need to log out and login to your forum again for the changes to take effect. You may have to manually delete the cookies from your browser.

    Leave a comment:


  • ElForro
    started a topic Can't login if "Remember me" isn't checked

    Can't login if "Remember me" isn't checked

    I've found a few -old- threads with the same problem

    http://www.vbulletin.com/forum/showthread.php?t=154664
    http://www.vbulletin.com/forum/showthread.php?t=208831

    My cookies settings are the default:

    path: /
    domain: .domain.com

    And I've tried changing the domain to "blank"

    It's a general problem, nothing to do with my browser settings

    I've tested with the default template, and all hooks disabled..

    I don't know what else to check.

    This is the forum: www.elforro.com

    This is the default template: http://www.elforro.com/index.php?styleid=22

    User: test1234
    Pass: test


    If you DON'T check the "remember me" option, it welcomes you, but after the redirect you're no longer loged in.

    If you check "remember me", it works fine.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X