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.
(2011-11-26, 02:33 PM)Paul H. Wrote: [ -> ]ACtaully, I think it is possible. Edit your cookie domain and directory and have them blank, then add a cookie prefix. That might work.

But what prefix should i use? And when you say cookie directory you mean cookie path?Thanks!

I mean cookie path, yes.

Just something like mybb_*yourforumname*_ or something
(2011-11-26, 04:11 PM)dgcyears Wrote: [ -> ]
(2011-11-26, 02:33 PM)Paul H. Wrote: [ -> ]ACtaully, I think it is possible. Edit your cookie domain and directory and have them blank, then add a cookie prefix. That might work.

But what prefix should i use? And when you say cookie directory you mean cookie path?Thanks!

You can use any prefix you'd want to use as long as it doesn't conflict with anything else on your site :p
If I go to my site www.linkedin-forum.com and I see that I am currently logged in as Ralph. If I then click on the (admin Control Panel link) admin CP link I have to fill in my admin details. (this is the url where its being redirected: http://linkedin-forum.com/admin/index.php) where I fill in my admin user details.

Which work fine.

I then want to change something in the backend but I get redirected again to the admin login: http://linkedin-forum.com/admin/index.php?module=forum and my details don't work anymore.

(I previously tried: http://linkedin-forum.com/admin/index.php?module=user but that doesn't work either)

I've spoken to an employee of Hostgator and he said it might be related to this thread: (http://community.mybb.com/thread-42123-p...#pid284857 )
But he said he fixed it.

If I press logout, I get a message that I am logged out and return to the website.. where I remain logged in..

I just tried it via a different browser where I wasn't logged in and I again got the same. > Logged into the backend via http://www.linkedin-forum.com/admin and typed my details >> logged in successful >> tried to click somewhere and got redirected to this page : http://linkedin-forum.com/admin/index.php?module=user

It did work before but not anymore and I wonder why.

The version I installed (yesterday) was 1.6.4 but there is a newer version available but this wasn't available yet in the "quickinstall" menu.

I am not sure if the version is actually relating to my problem...
I've cleared my cache a few times and on various computers but it remains the same.

Any ideas?



Ralph
The login doesnt work.

My bbfoum is: www.autobianchi.org/forum.autobianchi/ (user for you: user01; password: password01)
Server windows, Mybb version 1.6.4.

cookie setting in /inc/settings.php (CHMOD to 777 in windows, read/write/execute):
$settings['cookiedomain'] = ".autobianchi.org";
$settings['cookiepath'] = "/forum.autobianchi/";
$settings['cookieprefix'] = "";

I have cleared my cookies in my browsers (Internet explorer 8/9 and Chrome).
I'm having this problem with the login.
I'm logging in whit the correct user and password, but the result is the same page before login! (Images: 1beforelogin.jps, 2login.jpg, 3afterlogin.)

I have to click on "lista utenti" then the Mybb answers correctly and shows the right page (Image: 4loginok.jpg.).

Any ideas? Thanks for the answer.
Mauro.

[attachment=24865]
[attachment=24866]
[attachment=24867]
[attachment=24868]

This was my issue, but luckily, following the instructions fixed this. Is this a bug, or a common thing with just cookies?
hi Friends
i have same problem with login issue . my forum on localhost and i login my admin account is says successfully login in forum but few second redirect to home page with without login......
i mention the cookie setting in settings.php file but i saw some errors i attach a screen shot about this.
my old cookie setting is
On Webhost
: cookiedomain: ".domain.com"
cookiepath: "/forum/"
cookieprefix: ""

New setting in My Localhost
: cookiedomain: "Blank"
cookiepath: "blank"
cookieprefix: "blank"
solved my login issue problem.

the problem i cant to my CP to fix the COOKYs Sad
Edit your inc/settings.php file then change it in the ACP.
Amazed at how many people don't fully read the first post. I really am.