This Help forum is for issues relates to the latest release (1.6.x). For issues related to beta or github version please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here.
  • Page:
  • 1

TOPIC:

Cant log in - Loops back to log in page 5 years 10 months ago #1

  • clivejo
  • clivejo's Avatar Topic Author
  • Visitor
  • Visitor
Today I tried to log into my webtrees account , but it keeps looping back to the login page, any idea whats wrong?

BTW I have https setup on the domain.

Please Log in or Create an account to join the conversation.

Cant log in - Loops back to log in page 5 years 10 months ago #2

  • fisharebest
  • fisharebest's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 14491
Posting the URL so we can see the exact re-direction would help, but in the absense of specifics, I can only give a general answer.

The information provided by your server to webtrees is probably not quite right. Perhaps the server is using HTTPS, but is telling webtrees that it is using HTTP - so that webtrees then tries to redirect from HTTP to HTTPS.

If you have access to your database (via PhpMyAdmin, etc.), it may help to delete the entries for "SERVER_URL" and "LOGIN_URL" from the wt_site_setting table.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Cant log in - Loops back to log in page 5 years 10 months ago #3

  • clivejo
  • clivejo's Avatar Topic Author
  • Visitor
  • Visitor
When I type in a correct username and password it just redirects back to the index.php page, but still as a guest.

Please Log in or Create an account to join the conversation.

Cant log in - Loops back to log in page 5 years 10 months ago #4

  • fisharebest
  • fisharebest's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 14491
As I said, the information provided by your server to webtrees is probably not right.

As a result, the session (login) cookie is being set for the wrong domain.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Cant log in - Loops back to log in page 5 years 10 months ago #5

  • Jackie
  • Jackie's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 4755
Hello Clivejo,

As Greg asked in post #2:

1- What is the URL of your website?
2- Do you have access to the MySQL database using phpMyAdmin?
3- If yes, did you remove the row LOGIN_URL in the webtrees table named wt_site_setting ?

Please Log in or Create an account to join the conversation.

Cant log in - Loops back to log in page 5 years 10 months ago #6

  • clivejo
  • clivejo's Avatar Topic Author
  • Visitor
  • Visitor
Yes I deleted the two settings via phpMyAdmin. The site now does not use the https.

johnston-family.org.uk

Please Log in or Create an account to join the conversation.

Cant log in - Loops back to log in page 5 years 10 months ago #7

  • Jackie
  • Jackie's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 4755
Hi clivejo,

Do you still use a custom module for login?

Reference : www.webtrees.net/index.php/fr/forum/4-cu...ticator-module#50577

Please Log in or Create an account to join the conversation.

Cant log in - Loops back to log in page 5 years 10 months ago #8

  • Jackie
  • Jackie's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 4755

clivejo wrote: Yes I deleted the two settings via phpMyAdmin. The site now does not use the https.

johnston-family.org.uk


You can now log in. Now, perhaps ask your webhost about using https ?

Please Log in or Create an account to join the conversation.

Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

Cant log in - Loops back to log in page 5 years 10 months ago #9

  • clivejo
  • clivejo's Avatar Topic Author
  • Visitor
  • Visitor
No, the custom module didnt work and I didnt install it on my main site.

No, I still cant log on. https is still available but the site has defaulted back to http

Please Log in or Create an account to join the conversation.

Cant log in - Loops back to log in page 5 years 10 months ago #10

  • clivejo
  • clivejo's Avatar Topic Author
  • Visitor
  • Visitor
Ok today I deleted all files from the root folder and only copied the contents of webtrees-1.6.2.zip to the site. I then copied my data folder. I tried to log in but couldnt.

I have also copied my custom theme over and the site seems to be displaying correctly, however I am not able to access the admin area. Any ideas?

Please Log in or Create an account to join the conversation.

Cant log in - Loops back to log in page 5 years 10 months ago #11

  • fisharebest
  • fisharebest's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 14491
> I tried to log in but couldnt.

It might help if we could elaborate on "couldn't".

If I was investigating this on my own server, the first thing I would look at is the HTTP headers (tip: use the firebug plugin for firefox). Perhaps compare them witht the headers you see when you log in to the demo server.

> however I am not able to access the admin area

You said you couldn't log in. I wouldn't expect you to be able to access the admin area without logging in.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Cant log in - Loops back to log in page 5 years 10 months ago #12

  • clivejo
  • clivejo's Avatar Topic Author
  • Visitor
  • Visitor
OK it appears to be a compatibility issue with PHP 5.7 which I was testing. I have went back to 5.6 and can log in again.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum