MyBB Community Forums

Full Version: Log In Bug
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was wondering if anyone could help me with a bug. Sometimes when people leave the forums and come back it shows as if they are logged out. But when they try to log in it redirects and still says they aren't logged in.

But if you click on one of the buttons such as members or something, it signs them in.

Hopefully you can understand what I mean.

Any help would be appreciated, thanks.

Also, I currently have to use this in my index.html

<meta http-equiv="REFRESH" content="0;url=http://techbarrage.com/forums">

In case my explanation is hard to understand, here is a video to kind of show what I am talking about. Although Fraps wanted to mess up too. Sorry I'm new to this :/

I'm not sure why you show the AdminCP, then the theme switches between Apart Flame and Dark Fusion (unless these are your personal settings and the main theme is Apart). It seems to either be a caching issue if you only have the same theme used through your account and set as the main theme.
(2013-02-15, 10:19 PM)Known Wrote: [ -> ]I'm not sure why you show the AdminCP, then the theme switches between Apart Flame and Dark Fusion (unless these are your personal settings and the main theme is Apart). It seems to either be a caching issue if you only have the same theme used through your account and set as the main theme.

Yeah, sorry the video didn't show everything thing I was doing because Fraps didn't record the tabs.

But yeah, Apart Flame is my main theme and I personally have Dark Fusion set as mine.

The only reason AdminCP kept showing was because I was closing and opening tabs. The first thing that I did was click on a bookmark for my site and when it takes me to the site, it says I'm not signed in.

So what I would do is click on one of the links on my forums and it would show that I am signed in.

I don't know why it is doing this.
Read this thread: http://community.mybb.com/thread-126359.html

It seems like it's a problem with the cookie domain/path.
(2013-02-16, 02:42 AM)Irreligious Wrote: [ -> ]Read this thread: http://community.mybb.com/thread-126359.html

It seems like it's a problem with the cookie domain/path.

Yeah I checked that out earlier, but everything seemed fine to me in the settings. :/

Here is a link to my page source.

view-source:http://www.techbarrage.com/forums/index.php
In your forum you have some of the links as http://techbarrage.com/forums and others as http://www.techbarrage.com/forums

Your cookie domain is set to .www.techbarrage.com

Even if you want to use the www, you must have this in the settings.php:

Quote:$settings['cookiedomain'] = ".techbarrage.com";
$settings['cookiepath'] = "/forums/";
$settings['cookieprefix'] = "";

And then you must go to the General Configuration in your Admin CP and change there too:

Quote:Cookie Domain: .techbarrage.com
Cookie Path: /forums/

settings.php must be CHMOD to 666 too.

Everything is here, really: http://community.mybb.com/thread-126359.html
(2013-02-16, 02:57 AM)Irreligious Wrote: [ -> ]In your forum you have some of the links as http://techbarrage.com/forums and others as http://www.techbarrage.com/forums

Your cookie domain is set to .www.techbarrage.com

Even if you want to use the www, you must have this in the settings.php:

Quote:$settings['cookiedomain'] = ".techbarrage.com";
$settings['cookiepath'] = "/forums/";
$settings['cookieprefix'] = "";

And then you must go to the General Configuration in your Admin CP and change there too:

Quote:Cookie Domain: .techbarrage.com
Cookie Path: /forums/

settings.php must be CHMOD to 666 too.

Everything is here, really: http://community.mybb.com/thread-126359.html

+1 Rep for you. I guess I wasn't paying enough attention. Problem fixed! Smile