Users have to click on "Login" twice

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
mattbussey
Registered User
Posts: 30
Joined: Sun May 14, 2006 4:37 am
Contact:

Users have to click on "Login" twice

Post by mattbussey » Wed Jan 24, 2007 2:01 pm

I'm having trouble with the login feature on my forums. When I as the administrator tries to login, I click on the login button, enter my login name and password, click submit, then it takes me back to the original screen and I'm not logged in. When I do that same thing again, the login works like it should. I think the same thing is happening with the users who come to the page. Can anyone help me out? My forum is at www.brewersroundtable.com/forum

User avatar
KevC
Support Team Member
Support Team Member
Posts: 69370
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Post by KevC » Wed Jan 24, 2007 2:43 pm

You probably have slightly wrong cookie settings.

Try the cookie fixer linked in my sig below. The instructions are in the .mod text file in it.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

User avatar
pollos
Registered User
Posts: 145
Joined: Wed Jul 30, 2003 7:44 pm
Location: Menorca
Contact:

Post by pollos » Wed Jan 24, 2007 5:51 pm

Your site address is http://brewersroundtable.com/forum/ not http://www.......... either do as Kevin suggests or use htaccess with mod rewrite to force visitors to the www. domain
My sig should go here... but I've nowt so say

User avatar
pentapenguin
Former Team Member
Posts: 11030
Joined: Thu Jul 01, 2004 4:15 am
Location: GA, USA

Post by pentapenguin » Thu Jan 25, 2007 12:37 am

Thread Moved to Support
Support Resources: Support Request Template
If you need professional assistance with your board, please contact me for my reasonable rates.

User avatar
Lumpy Burgertushie
Registered User
Posts: 66749
Joined: Mon May 02, 2005 3:11 am
Contact:

Post by Lumpy Burgertushie » Thu Jan 25, 2007 8:32 am

pollos wrote: Your site address is http://brewersroundtable.com/forum/ not http://www.......... either do as Kevin suggests or use htaccess with mod rewrite to force visitors to the www. domain


why on earth would you want to do that?

there is no reason to use the www is you do not want to.

it will work either way ( as it should ) and if your cookie settings are correct, the cookies will work either way as well.

www is really not needed anymore, if the host has their servers setup correctly.

robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

User avatar
pollos
Registered User
Posts: 145
Joined: Wed Jul 30, 2003 7:44 pm
Location: Menorca
Contact:

Post by pollos » Thu Jan 25, 2007 2:09 pm

Why on earth would you want to do that?? well my host [and the op's may have too] has the servers set up so you can reach the site using either http://www.example.com or http://example.com. The problem I had when first using them with the phpbb login was that I would access the site using the address http://www.example.com/forum/login.php and once logged in end up at http://example.com/forum/index.php [the non www address was the default] this played havoc with the cookies and members being logged in and then not.

The only way I could cure it was by using .htaccess..

Code: Select all

RewriteEngine On
RewriteCond %{HTTP_HOST} ^example\.co\.uk 
RewriteRule (.*) http://www\.example\.co\.uk/$1 [R=301,L]
Now if you know an easier way why didn't you answer my question when I was having the same problem, I had to look elsewhere.
My sig should go here... but I've nowt so say

mattbussey
Registered User
Posts: 30
Joined: Sun May 14, 2006 4:37 am
Contact:

Post by mattbussey » Wed Feb 07, 2007 2:03 pm

I tried the cookie fixer but I think my problem is a little bit more than that and I might need to try the htaccess thing. I have three domains that point to the forums, www.winemakingforums.com, www.beerbrewingforums.com, and www.brewersroundtable.com/forum . The third is the actual one and when you log in from either of the first two, it send the user to the third and shows them as not logged in. Is there a way I can force anyone who comes to www.winemakingforums.com to the brewersroundtable.com/forum site? How does htaccess work?

Thanks to all for your help.

Matt

Locked

Return to “2.0.x Support Forum”