Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Cannot stay logged in

edited July 2007 in Vanilla 1.0 Help
All of a sudden today when I logged into my vanilla board, I couldn't stay logged in. The password is fine, but everytime I go to the main screen, it keeps saying 'not signed in'. I didn't install anything new recently. Does this have something to do with sessions or cookies?
«1

Comments

  • http://lussumo.com/community/discussion/5814/sign-in-problems-with-vanilla-112/#Item_1
  • Schizo, that only applies if the forum is on the localhost.

    sdcard_8, check your settings.php under your /conf/ directory folder and make sure it matches that of your domain and relative path. Otherwise you just might not be accepting cookies from your own site if you've got your browser set to reject all cookies or ones you allow.
  • edited June 2007
    Lech,

    Just to confirm would this be right:
    $Configuration['WEB_ROOT'] = '/forums/';
    $Configuration['BASE_URL'] = 'http://www.mysite.net/forums/';

    I'm thinking it should be
    $Configuration['WEB_ROOT'] = '/forums/';
    $Configuration['BASE_URL'] = 'http://www.mysite.net';

    I would try it myself but I'm hesitant to change this for some reason.
  • schrem, the first one should be valid over the second in the case of how Vanilla builds queries. While the second one may work up to a point there's a chance the .net portion of the url is going to get mashed into whatever is appended to it later which could be good and bad depending on the scenario. A stab in the dark says this users server isn't honoring sessions or writing out the cookies in the first place.
  • Ok, I"m having the exact same problem all of a sudden. Username and password is correct, but when I go to any of the discussions or anywhere, I'm shown as not logged in. That sucks, since I'm the admin, and my users are wondering why there accounts aren't being validated. I don't know much about the settings config file. I looked at mine, but it all means nothing to me. Is there an easy solution, or do I ditch Vanilla forum for something else? Thanks for any help. By the way, SDcard_8, did you find a solution??
  • What are your cookie settings?
  • Where do I find the cookie setting? I"m a noob at this, and was using Vanillaforum because of it's supposed ease-of-use....
  • Check for these lines in your settings.php: $Configuration['COOKIE_DOMAIN'] = '.int0rw3b.com'; $Configuration['COOKIE_PATH'] = '/';
  • $Configuration['COOKIE_DOMAIN'] = 'forum.promedia-solutions.com'; $Configuration['COOKIE_PATH'] = '/';
  • Try using the cookie domain as .promedia-solutions.com
  • Ok, tried that...no change...same problem
  • Are you sure sessions are set up correctly on your server? Do you run any other applications with logins?
  • I have no other applications with logins. My server is with godaddy.com, where do I find out if my sessions are set up correctly? (Thanks for your help with this, I feel like a bonehead, but frankly I'm about ready to ditch Vanillaforum....)
  • Quote: Silverback67
    pic I feel like a bonehead, but frankly I'm about ready to ditch Vanillaforum... pic
    Hang in there mate, the most likely problem is an odd non-standard setting or requirement, hardly Vanilla's fault.
    I'm sure the people here will eventually help to solve it for you.

    Posted: Friday, 22 June 2007 at 2:12PM

  • Do you stay logged in when you tick the remember me option?

    if you do, it is a problem with the php session settings on your server.
    If you don't, it is a problem with the cookie.
  • When I tick the remember me box, it's the same problem, I am still not signed in. If this means, as you state, that it's a cookie problem, what's my next step? (Thanks everyone for your help with this).
  • I just went to my forum using the favorites link and it worked (http://forum.promedia-solutions.com/settings.php). I stayed logged in. However, the link from my website (http://forum.promedia-solutions.com) doesn't work. Should I change the link on the website (which is the link all the forum users would use)? Or does this help make sense of the situation at all? (I'm encouraged by at least getting logged in now, and I've got to check with other members to see if they are having problems).
  • There really isnt any difference between those two links (i.e. theyre both using the forum subdomain and no subfolder) so if they behae differently login-wise that really is very strange indeed...can you get some other users to confirm?
  • edited July 2007
    I am on it as a guest and the session cookie seems fine.
    I tried to register. Can you confirm me?
  • Dinoboff, I logged on and confirmed your registration. (Your next step is to create a World of Warcraft character, since you're now in our guild! Lol...) I'll ask some users to confirm that they can log in, too.
This discussion has been closed.