Cant login with domain name, only on localhost

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
copernicus142
Registered User
Posts: 5
Joined: Wed Oct 14, 2020 10:35 pm

Cant login with domain name, only on localhost

Post by copernicus142 »

Hi
I cant log in to my phpBB3 forum when I type in the domain name in my browser. I only see the forum. But all attempts to log in gives this error: "The submitted form was invalid. Try submitting again." It works to login though when I type in localhost on my server computer instead of the domain name. Then I can log in. So do you know this problem and how to fix it?
User avatar
janus_zonstraal
Registered User
Posts: 4895
Joined: Sat Aug 30, 2014 1:30 pm

Re: Cant login with domain name, only on localhost

Post by janus_zonstraal »

Did you try a other browser?
Also a link to your board can help.
Sorry! My English is bat ;) !!!
copernicus142
Registered User
Posts: 5
Joined: Wed Oct 14, 2020 10:35 pm

Re: Cant login with domain name, only on localhost

Post by copernicus142 »

Okey, so I tried with Google Chrome and it worked flawlessly. What does this say about Firefox ESR (on Debian 10)?

Link to my forum: www.sthlmcity.eu/phpBB3/
User avatar
david63
Registered User
Posts: 18582
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: Cant login with domain name, only on localhost

Post by david63 »

With FF I am getting Page not found in phpBB.

With Chrome I am getting Debian Default Page.

Looks as if there is a problem with your server setup
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored
copernicus142
Registered User
Posts: 5
Joined: Wed Oct 14, 2020 10:35 pm

Re: Cant login with domain name, only on localhost

Post by copernicus142 »

I have fixed some on the server and now the forumsite is on https://www.sthlmcity.eu. However, it still doesn't work to log in from Firefox ESR on Debian 10. Weird. I wonder where the problem is?
User avatar
janus_zonstraal
Registered User
Posts: 4895
Joined: Sat Aug 30, 2014 1:30 pm

Re: Cant login with domain name, only on localhost

Post by janus_zonstraal »

Did you try the private mode from FF?
Sorry! My English is bat ;) !!!
User avatar
warmweer
Jr. Extension Validator
Posts: 5835
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: Cant login with domain name, only on localhost

Post by warmweer »

Apparently http redirects to https, but cookie_secure is set to False.
Try setting that to true, change the cookie_name (just change the last character) and clear browser cache and cookies (for each browser) before you try to login on various browsers.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.
Post Reply

Return to “[3.3.x] Support Forum”