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.
The first time I installed myBB there were all sorts of problems that I normally would attribute to permissions. That was a test run so I pretty much 777'd everything just to see if myBB would suit our needs.

I'm on my second testing phase (will be converting a very old competitors forums to myBB via a few steps) and now we are getting into the harder to accomplish stuff. For this second run I've wiped my server (ubuntu 12.04 lts) and started from scratch. This time I'm using port 808 to stop random bots from hitting us.

Also this time I followed the chmod commands to a tee (copy and paste) from the online doc. The installation went perfectly but I get revolving door login problem. I've cleared all of my old cookies, I've tried three different browsers, I've tried it from different machines. I've removed the settings.php file and let it be recreated, I've tried various iterations of cookie settings. The most recent is:

$settings['cookiedomain'] = ".yurplebliss.com:808";
$settings['cookiepath'] = "/myb/";
$settings['cookieprefix'] = "";

Also, the actual url is http://gm.yurplebliss.com:808/myb/

On the main index, it accepts my login then cycles back to index as a guest. On the Admin index it seems to be missing some graphics http://img255.imageshack.us/img255/1956/mybb1.png And after I login it is, again, missing graphics http://img825.imageshack.us/img825/4171/mybb2.png But if I click any further it takes me back to the ACP login.

Ideas? I don't think 777'ing all files is acceptable obviously but my belief is that it would solve this annoyance.

Thanks,
gmo

Also, I have direct access to the database if that helps.
(2013-04-11, 12:11 PM)applaps Wrote: [ -> ]
(2013-04-11, 12:11 PM)applaps Wrote: [ -> ]Really need help with this please.

Can log into the /admin panel, but when I try click anything within the admin page, i.e. Themes or Configuration, it takes me back to the admin login page but won't accept my details.

I have myBB installed on my mac on MAMP locally to test and configure before I pay for hosting and deploy.

My URL is: http://localhost:8888/myBB/

My current settings in /inc/settings.php:

$settings['cookiedomain'] = "";
$settings['cookiepath'] = "/mybb/";
$settings['cookieprefix'] = "";

I tried setting cookie domain to ".localhost" cleared cookies, but cant get it to work..

thanks

Fixed this...

For anyone having a similar issue, cookiedomain as "localhost" does the trick (no preceding full stop).

Ok I tried some CHMOD stuff to try and fix another issue I was having where no styling was showing for my themes, just white pages with text (including default theme) and now I am experiencing this issue again... Checked and my settings.php shows:

$settings['cookiedomain'] = "localhost";
$settings['cookiepath'] = "/mybb/";
$settings['cookieprefix'] = "";

so i have no idea whats going on Angry
And as another test to check my sanity I used the single line technique in the install doc

(wget --content-disposition http://www.mybb.com/download/latest -O mybb.zip && unzip mybb.zip "Upload/*" && mv Upload/* . && rm -Rf Upload mybb.zip && mv inc/config.default.php inc/config.php && chmod -R 0777 cache uploads inc/settings.php inc/config.php)

And again, the install went perfectly. From the last page I chose to click on the ACP link as my first point of entry. I saw all graphics and was logged in. The first link within the ACP I clicked on took me back to the ACP login.

So that at least seems to have gotten the images set to proper permissions but the cookie woes live on. I did this latest install test to http://gm.yurplebliss.com:808/test/ and the settings file's cookie setting have defaulted to:

$settings['cookiedomain'] = ".gm.yurplebliss.com:808";
$settings['cookiepath'] = "/test/";
$settings['cookieprefix'] = "";

(2013-04-11, 02:14 PM)gmOlds Wrote: [ -> ]And as another test to check my sanity I used the single line technique in the install doc

(wget --content-disposition http://www.mybb.com/download/latest -O mybb.zip && unzip mybb.zip "Upload/*" && mv Upload/* . && rm -Rf Upload mybb.zip && mv inc/config.default.php inc/config.php && chmod -R 0777 cache uploads inc/settings.php inc/config.php)

And again, the install went perfectly. From the last page I chose to click on the ACP link as my first point of entry. I saw all graphics and was logged in. The first link within the ACP I clicked on took me back to the ACP login.

So that at least seems to have gotten the images set to proper permissions but the cookie woes live on. I did this latest install test to http://gm.yurplebliss.com:808/test/ and the settings file's cookie setting have defaulted to:

$settings['cookiedomain'] = ".gm.yurplebliss.com:808";
$settings['cookiepath'] = "/test/";
$settings['cookieprefix'] = "";

Ok... I apologize - I just saw the lower part of the 1st post. I removed the :808 and it's working.

Smile
fortunately I have never experienced something like this
because I manually installing MyBB Toungue
I'm still facing this issue after trying all methods. My forum url is forum.bloggerjin.com
I can easily login to admin panel but can't login to usercp.
Any help please
it's very strange that can not visit the User CP Huh
(2013-04-14, 08:19 AM)SunDi3yansyah Wrote: [ -> ]it's very strange that can not visit the User CP Huh

Yes, my admin cp is working fine. I can login to admin cp using domain.com/admin and i'm still logged into admin cp. But i'm not able to login successfully in my usercp.

update:
Okay I guess my problem is solved. I tried changing my cookies domain to forum.bloggerjin.com from .forum.bloggerjin.com and now its working very fine.
By trying to enter just .bloggerjin.com forum was not allowing me to logout :p
but now it's working fine with forum.bloggerjin.com as Cookie domain and / as Cookie Path.
(2013-04-14, 09:05 AM)Taim Wrote: [ -> ]
(2013-04-14, 08:19 AM)SunDi3yansyah Wrote: [ -> ]it's very strange that can not visit the User CP Huh

Yes, my admin cp is working fine. I can login to admin cp using domain.com/admin and i'm still logged into admin cp. But i'm not able to login successfully in my usercp.

update:
Okay I guess my problem is solved. I tried changing my cookies domain to forum.bloggerjin.com from .forum.bloggerjin.com and now its working very fine.
By trying to enter just .bloggerjin.com forum was not allowing me to logout :p
but now it's working fine with forum.bloggerjin.com as Cookie domain and / as Cookie Path.

You download attachment file (link http://community.mybb.com/attachment.php?aid=28979 ), unzip and upload to your forum folder.
Visit the following link http://yourdomain/MyBB_ROOT/cookiesettings.php
Done!
(2013-04-14, 09:05 AM)Taim Wrote: [ -> ]Yes, my admin cp is working fine. I can login to admin cp using domain.com/admin and i'm still logged into admin cp. But i'm not able to login successfully in my usercp.

update:
Okay I guess my problem is solved. I tried changing my cookies domain to forum.bloggerjin.com from .forum.bloggerjin.com and now its working very fine.
By trying to enter just .bloggerjin.com forum was not allowing me to logout :p
but now it's working fine with forum.bloggerjin.com as Cookie domain and / as Cookie Path.

should be so
how do you use it before setting cookies Toungue
(2013-03-17, 07:58 PM)Japparts Wrote: [ -> ]I am using mybb version 1.6.9

I have one user that is not able to sign in on PC (Chrome) or his phone, or tablet. I dont have problems signing in and to my knowledge no other users do.

I have checked all the cookie settings set out by the "cookie generator" and everything is correct.

Is there any explanation why this one user might be having problems signing in? Also I was the one that set up his account originally as he couldnt sign up for some reason.

He says he has no problems with any other sites/forums, it is only this one he cant access. I have reset his password and checked/double checked he is entering the right username and password details. I have tried his user/password from my end and signed in without a problem.

To summarise....

1. All cookie settings are set to what "cookie generator" says.
2. User can not sign in to the site on PC, laptop, phone or tablet
3. User has no problems on any other site
4. User has cookies set to enabled

Any suggestions?

Just found out the user is getting the error of......

no match for email and password

I have checked and double checked what he is entering and it all seems to be fine. I have had him try with username AND email address but still nothing. I made sure the capital letters are in the right places etc.

He is 100% a registered (activated) user on the forum as I created the account originally myself as he was unable to sign up.

Has anyone got any idea why else this error might be showing up?

I am having this exact same problem. I can PM support staff with my URL if needed... but the cookie settings are correct.

My users report not being able to log in- but when I test, I can successfully log in as them.

To summarize....

1. All cookie settings are set properly
2. User can not sign in to the site on PC, laptop, phone or tablet
3. User has no problems on any other site
4. User has browser cookies enabled
5. I have rebuilt my settings file and ensured the perms are set to 666