MyBB Community Forums

Full Version: Login/Logout problems? PLEASE READ
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Try leaving the cookie domain blank.
(2011-01-30, 01:42 PM)MattRogowski Wrote: [ -> ]Try leaving the cookie domain blank.

No i did no leave the domain blank.
I just made it play by deleting the leading dot
thus making the domain path 192.168.1.2
instead of .192.168.1.2
HI,

I also faced this problem when move my forum MyBB 1.4.14 from http://forum.vatlieu.us into local.

I tried to install a new MyBB 1.6 at local and leave cookiedomain is blank. It works well. I can easily login. I compare two setting files of MyBB 1.4.14 and 1.6.1.

So, I set cookiedomain is blank for MyBB 1.4.14 and clear Browser cookie. Then I can login now both at index.php and admin/index.php.

P/S: I am using Wampserver 2.1 on Win7 64bits.
need help, i try to login using firefox no prob, but when login to chrome or comodo browser cannot login.
(2011-02-09, 04:24 AM)bdkminang Wrote: [ -> ]need help, i try to login using firefox no prob, but when login to chrome or comodo browser cannot login.

Did you read the first post?? It says this:

Quote:If you are still having trouble, please tell us your URL. If you still have a problem but only say 'I still have a problem' but give no URL, we cannot help you in any way at all.

...
Logging in is fine, but I'm unable to log out.
forum url: http://www.pokebeach.com/forums
cookie domain:pokebeach.com
cookie path:/forums/

This is what is in the welcomeblock_member template:
<span style="float:right;">{$lang->welcome_current_time}</span>
		{$lang->welcome_back} (<a href="{$mybb->settings['bburl']}/usercp.php"><strong>{$lang->welcome_usercp}</strong></a>{$modcplink}{$admincplink} &mdash; <a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}">{$lang->welcome_logout}</a>)<br />
				<span class="links">
					<a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup', 'buddyList', 350, 350);">{$lang->welcome_open_buddy_list}</a>
				</span>
				<a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a> | <a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a> | <a href="{$mybb->settings['bburl']}/private.php">{$lang->welcome_pms}</a> {$lang->welcome_pms_usage}

This is what is in the header template:
<a name="top" id="top"></a>
	<div id="container">
		<div id="header">
			<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" /></a></div>
<div class="menu">
				<ul>
<li><a href="/"><img src="{$theme['imgdir']}/toplinks/staryu.gif" alt="" />PokéBeach</a> / <a href="/chat">Chat Room</a></li>
					<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" />{$lang->toplinks_search}</a></li>
					<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" />Members</a></li>
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" />{$lang->toplinks_help}</a></li>
				</ul>
			</div>
			<hr class="hidden" />
			<div id="panel">
				{$welcomeblock}
			</div>
		</div>
		<hr class="hidden" />
		<br class="clear" />
		<div id="content">
			{$bannedwarning}
			{$bbclosedwarning}
			{$unreadreports}
			{$boardmsg}
			<navigation>
			<br class="clear" />
Try changing your cookie domain from "pokebeach.com" to ".pokebeach.com".
Still doesn't work.
Clear your browser cookies and try again, those settings should work; I was logged in to your forum with a test account from an earlier support issue, tried to logout and it didn't work; cleared my cookies, now logging in and out works.
I deleted all my cookies closed the forum window, then went back to it and was still logged in. I was not able to log out by clicking the log-out link. I use Internet Explorer if that helps any.