Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 05 Oct 2016, 09:07
deen1982 deen1982 is offline
 
Join Date: Oct 2011
Unhappy Infinite Login Loop

Hello all,

We recently started getting login problem in our board. Even if the user gets logged in, they get logged out randomly when they navigate.

To put more detail, here it is:

Step1: User fills credentials and clicks "Log in"
Step 2: User gets redirecting screen with message, "Redirecting.. Thank you for logging in, user"
Step 3: Forum returns to login page again.

I browsed through possible solutions and nothing worked out.
Here is the most suggested solution:
settings- options- Cookies and HTTP Header Options :
Session Timeout = 1200
Path to save cookies = '/'
Cookie Domain= (blank) or ".domainname.com" (tried both, didn't work)

[PS: changing skin from Zen Heat to Default lets user inside the board, but again logs out while navigating through forum]

This login loop is infinite and user traffic is drastically falling, any help is much appreciated.

Last edited by deen1982; 05 Oct 2016 at 09:18.
Reply With Quote
  #2  
Old 05 Oct 2016, 12:28
Dave Dave is offline
 
Join Date: Jun 2010
This also happens with all of your plugins disabled?
Reply With Quote
  #3  
Old 05 Oct 2016, 13:32
deen1982 deen1982 is offline
 
Join Date: Oct 2011
Originally Posted by Dave View Post
This also happens with all of your plugins disabled?
Yes I have disabled every plug-in, cleared browser cookies and tried again. Even then I get the same issue .

Last edited by deen1982; 05 Oct 2016 at 14:00.
Reply With Quote
  #4  
Old 05 Oct 2016, 14:20
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
You car try this...

1 - redirect all users to your domain with or without www .. using .htaccess


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.




2 - Set this settings like below.







3 - Change cookie prefix via config.sys file.





.
Attached Images
File Type: png 001261.png (33.9 KB, 77 views)

Last edited by Seven Skins; 05 Oct 2016 at 14:51.
Reply With Quote
  #5  
Old 05 Oct 2016, 17:05
deen1982 deen1982 is offline
 
Join Date: Oct 2011
Originally Posted by Seven Skins View Post
You car try this...

1 - redirect all users to your domain with or without www .. using .htaccess


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



.
First of all, thank you for a detailed reply seven skins.
there are so many .htaccess , which one should i edit?
For now I am going to backup and edit ".htaccess-b" found in /public_html/
http://www.grantimage.com/images.php/i3657_doubt.png

Last edited by deen1982; 05 Oct 2016 at 20:22.
Reply With Quote
  #6  
Old 05 Oct 2016, 21:12
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
It is .htaccess in your public_html directory.

public_html/.htaccess
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need. Need local seo? What about Dumpster Rental SEO?
Reply With Quote
  #7  
Old 05 Oct 2016, 21:35
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Did you make sure to clear your cookies and browser cache after changing the settings and then trying to login again?

Try using the default style, set your cookie domain properly (to ".domainname.com"), then clear your browser cookies and cache and then login and see if the site works correctly.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #8  
Old 06 Oct 2016, 09:36
deen1982 deen1982 is offline
 
Join Date: Oct 2011
Originally Posted by RichieBoy67 View Post
It is .htaccess in your public_html directory.

public_html/.htaccess
I have edited that file only. no improvements

--------------- Added 06 Oct 2016 at 09:37 ---------------

Originally Posted by Lynne View Post
Did you make sure to clear your cookies and browser cache after changing the settings and then trying to login again?

Try using the default style, set your cookie domain properly (to ".domainname.com"), then clear your browser cookies and cache and then login and see if the site works correctly.
changed style to "default" skin from AdminCp, set cookie domain to ".domainname.com" , cleared complete data in broswer from beginning of time, even then didn't work :-/

--------------- Added 06 Oct 2016 at 09:44 ---------------

This issue started all of a sudden without any site level modifications from my side. Will there be something to do with hosting service provider?

Last edited by deen1982; 06 Oct 2016 at 09:44.
Reply With Quote
  #9  
Old 06 Oct 2016, 13:12
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
You have to do all three steps I mentioned then it may work.
Reply With Quote
  #10  
Old 06 Oct 2016, 21:22
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Have you asked your hosting provider if they changed anything on the server at about the time that this problem started?
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #11  
Old 08 Oct 2016, 08:08
deen1982 deen1982 is offline
 
Join Date: Oct 2011
Originally Posted by Lynne View Post
Have you asked your hosting provider if they changed anything on the server at about the time that this problem started?
we asked hosting people to check from their side. They have reset all plugins, now the login loop is fixed. But, we are unable to open Sub-Forums.

It gives error,
"Fatal error: Call to a member function parse_bbcode() on a non-object in /home/forumname/public_html/includes/functions_forumdisplay.php on line 176"
When we open threads from "recent post" or a link, it's working fine. Only when we click the subforum, we get error.

what does it mean? Any help?

Last edited by deen1982; 08 Oct 2016 at 08:23.
Reply With Quote
  #12  
Old 08 Oct 2016, 16:58
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
You are running vB4.1.7 on a server with PHP5.4. That isn't going to work. You either need to go back to PHP5.3 or you need to upgrade to vB4.2.2 (or vB4.2.3).
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
Reply


Tags
login, loop


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 19:08.

Layout Options | Width: Wide Color: