Unable automatic login

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
citabriabob
Registered User
Posts: 46
Joined: Tue Mar 04, 2003 11:58 pm
Location: Beautiful Hudson Valley of New York
Contact:

Unable automatic login

Post by citabriabob » Fri Jun 21, 2019 10:44 pm

I have searched through the topics and tried a few things, but...

I have two boards on separate sub-domains and all has been working just fine for years now. Of a sudden, one of the boards refuses to log me in most of the time while the other does.

Cookie settings: aeronca.typeclubs.org, phpbb3_2fl99, / , disabled, disabled.

Any ideas?
Robert

User avatar
</Solidjeuh>
Registered User
Posts: 1605
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: Unable automatic login

Post by </Solidjeuh> » Fri Jun 21, 2019 10:54 pm

it should be .aeronca.typeclubs.org
And I see you have SSL ? Then enable "Cookie secure"

Also try to clear the browser cache/cookies.
Register a free account & Play!!
~~~ https://www.solidjeuh.be ~~~
Have a secret? --> https://www.tellyoursecrets.eu

User avatar
Mick
Support Team Member
Support Team Member
Posts: 21129
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket - definitely

Re: Unable automatic login

Post by Mick » Sat Jun 22, 2019 8:30 am

I’m not seeing the board in question can you post a link to it please?
"The more connected we get the more alone we become" - Kyle Broflovski

citabriabob
Registered User
Posts: 46
Joined: Tue Mar 04, 2003 11:58 pm
Location: Beautiful Hudson Valley of New York
Contact:

Re: Unable automatic login

Post by citabriabob » Sat Jun 22, 2019 4:28 pm

Tried the aobbe to no avail. http://aeronca.typeclubs.org/BB3/
Robert

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

Re: Unable automatic login

Post by Lumpy Burgertushie » Sat Jun 22, 2019 4:52 pm

you still have not corrected the cookie settings. this is what I see:
Cookie name
phpbb3_2fl99
Cookie domain
aeronca.typeclubs.org
Cookie path
/
Cookie secure
No

it should be:

Cookie name
phpbb3_2fl99
Cookie domain
.aeronca.typeclubs.org
Cookie path
/
Cookie secure
Yes

and the link you gave us was http when your site is using SSL so you should be using https all the time.


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?

citabriabob
Registered User
Posts: 46
Joined: Tue Mar 04, 2003 11:58 pm
Location: Beautiful Hudson Valley of New York
Contact:

Re: Unable automatic login

Post by citabriabob » Mon Jun 24, 2019 12:31 am

OK, it works now, but users are still trying to log on without the https: Is there a way to force all to the secure server URL?
Robert

User avatar
</Solidjeuh>
Registered User
Posts: 1605
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: Unable automatic login

Post by </Solidjeuh> » Mon Jun 24, 2019 1:18 am

Open .htaccess

Find:

Code: Select all

RewriteEngine on
Replace with:

Code: Select all

RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
And if you want is with WWW, use:

Code: Select all

RewriteEngine on
RewriteCond %{HTTPS} off
# First rewrite to HTTPS:  # regel niet uitvoeren wanneer verbonden via https
# Don't put www. here. If it is already there it will be included, if not
# the subsequent rule will catch it.
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# Now, rewrite any request to the wrong domain to use www.
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
And in ACP server settings, set port so: 443
Register a free account & Play!!
~~~ https://www.solidjeuh.be ~~~
Have a secret? --> https://www.tellyoursecrets.eu

citabriabob
Registered User
Posts: 46
Joined: Tue Mar 04, 2003 11:58 pm
Location: Beautiful Hudson Valley of New York
Contact:

Re: Unable automatic login

Post by citabriabob » Mon Jun 24, 2019 4:15 pm

Thank you!
Robert

Post Reply

Return to “[3.2.x] Support Forum”