Web based family history software

Question Strange behaviour of User Administration

  • hlein
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 10 months ago #1 by hlein
One of my two installations of wt 2.0.0-beta.2 shows a strange effect:

I have two users defined, which may also be used, i.e. they can log in and do their work. An additional user with the same name cannot be created.
With phpmyadmin, they are in the table wt_user and the recordsseem to be ok.

But:
in webtrees Control Panel / User Administration no user is shown

Regards
Helmut

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

More
4 years 10 months ago #2 by fisharebest
Replied by fisharebest on topic Strange behaviour of User Administration
The data for the user list is fetched using a second HTTP request.

Can you view the "XHR" requests in the network tab in the developer tools in your browser.

Do you see

a) a valid response with zero rows
b) an invalid response with an error message

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

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

  • hlein
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 10 months ago #3 by hlein
Replied by hlein on topic Strange behaviour of User Administration
there is no request to be seen in the XHR tab.

Regards
Helmut

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

  • hlein
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 10 months ago #4 by hlein
Replied by hlein on topic Strange behaviour of User Administration
Firefox:
No response in the XHR tab

Microsoft Edge Canary:
2 requests with status "blocked:mixed-content"

Regards
Helmut

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

More
4 years 10 months ago #5 by fisharebest
Replied by fisharebest on topic Strange behaviour of User Administration
> there is no request to be seen in the XHR tab.

Are there any error message in the "console" tab?

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

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

  • hlein
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 10 months ago #6 by hlein
Replied by hlein on topic Strange behaviour of User Administration
in chrome two requests:
Code:
vendor.min.js?v=1557830439:1 Mixed Content: The page at 'https://www.familie-leininger.at/wt-test/index.php?route=admin-users' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://www.familie-leininger.at:443/wt-test/index.php?route=admin-users-data&draw=1&columns%5B0%5D%5Bdata%5D=0&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=false&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=1&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%...name%5D=&columns%5B10%5D%5Bsearchable%5D=true&columns%5B10%5D%5Borderable%5D=true&columns%5B10%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B10%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B11%5D%5Bdata%5D=11&columns%5B11%5D%5Bname%5D=&columns%5B11%5D%5Bsearchable%5D=true&columns%5B11%5D%5Borderable%5D=true&columns%5B11%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B11%5D%5Bsearch%5D%5Bregex%5D=false&order%5B0%5D%5Bcolumn%5D=2&order%5B0%5D%5Bdir%5D=asc&start=0&length=10&search%5Bvalue%5D=&search%5Bregex%5D=false&_=1557926813859'. This request has been blocked; the content must be served over HTTPS. send @ vendor.min.js?v=1557830439:1 ajax @ vendor.min.js?v=1557830439:1 ht @ vendor.min.js?v=1557830439:1 ft @ vendor.min.js?v=1557830439:1 at @ vendor.min.js?v=1557830439:1 lt @ vendor.min.js?v=1557830439:1 At @ vendor.min.js?v=1557830439:1 j @ vendor.min.js?v=1557830439:1 l @ vendor.min.js?v=1557830439:1 re @ vendor.min.js?v=1557830439:1 (anonymous) @ vendor.min.js?v=1557830439:1 each @ vendor.min.js?v=1557830439:1 each @ vendor.min.js?v=1557830439:1 l @ vendor.min.js?v=1557830439:1 (anonymous) @ index.php?route=admin-users:127 vendor.min.js?v=1557830439:1 Mixed Content: The page at 'https://www.familie-leininger.at/wt-test/index.php?route=admin-users' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://www.familie-leininger.at:443/wt-test/index.php?route=admin-users-data&draw=2&columns%5B0%5D%5Bdata%5D=0&columns%5B0%5D%5Bname%5D=&columns%5B0%5D%5Bsearchable%5D=true&columns%5B0%5D%5Borderable%5D=false&columns%5B0%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B0%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B1%5D%5Bdata%5D=1&columns%5B1%5D%5Bname%5D=&columns%5B1%5D%5Bsearchable%5D=true&columns%5B1%5D%5Borderable%5D=true&columns%5B1%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B1%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B2%...name%5D=&columns%5B10%5D%5Bsearchable%5D=true&columns%5B10%5D%5Borderable%5D=true&columns%5B10%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B10%5D%5Bsearch%5D%5Bregex%5D=false&columns%5B11%5D%5Bdata%5D=11&columns%5B11%5D%5Bname%5D=&columns%5B11%5D%5Bsearchable%5D=true&columns%5B11%5D%5Borderable%5D=true&columns%5B11%5D%5Bsearch%5D%5Bvalue%5D=&columns%5B11%5D%5Bsearch%5D%5Bregex%5D=false&order%5B0%5D%5Bcolumn%5D=2&order%5B0%5D%5Bdir%5D=asc&start=0&length=10&search%5Bvalue%5D=&search%5Bregex%5D=false&_=1557926813860'. This request has been blocked; the content must be served over HTTPS. send @ vendor.min.js?v=1557830439:1 ajax @ vendor.min.js?v=1557830439:1 ht @ vendor.min.js?v=1557830439:1 ft @ vendor.min.js?v=1557830439:1 at @ vendor.min.js?v=1557830439:1 lt @ vendor.min.js?v=1557830439:1 (anonymous) @ vendor.min.js?v=1557830439:1 iterator @ vendor.min.js?v=1557830439:1 (anonymous) @ vendor.min.js?v=1557830439:1 (anonymous) @ vendor.min.js?v=1557830439:1 fnFilter @ vendor.min.js?v=1557830439:1 (anonymous) @ index.php?route=admin-users:149

Regards
Helmut

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

More
4 years 10 months ago #7 by fisharebest
Replied by fisharebest on topic Strange behaviour of User Administration
webtrees is creating two different URLs - https and http:443
Code:
https://www.familie-leininger.at/wt-test/index.php?route=admin-users
Code:
http://www.familie-leininger.at:443/wt-test/index.php?route=admin-users-data

Have you made any modifications to the code to detect HTTPS?

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

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

  • hlein
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 10 months ago #8 by hlein
Replied by hlein on topic Strange behaviour of User Administration
No. I did not modify anything in the scripts.

Regards
Helmut

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

  • hlein
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 10 months ago #9 by hlein
Replied by hlein on topic Strange behaviour of User Administration
I don't know if it helps, But the login page seems also to be http (not https)
www.familie-leininger.at/wt-test/index.p...ged%3DLeininger-Test

It works, but depending on the browser you get a warning that the transfer is not on secure line.

Regards
Helmut

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

  • hlein
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 10 months ago #10 by hlein
Replied by hlein on topic Strange behaviour of User Administration
Same behaviour (error in XHR request) for administration / show log
also for reports, diagrams, ...

Regards
Helmut

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

More
4 years 3 months ago #11 by Andrej
Replied by Andrej on topic Strange behaviour of User Administration
Hi Helmut,

did you find a solution?
I am trying to configure https on my webtreees site and have similar problems.

Regards
Andrej

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

  • hlein
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 3 months ago #12 by hlein
Replied by hlein on topic Strange behaviour of User Administration
Hi Andrej,

I do not remember what I have done. Mostprobably,it was cleaning the cookies and browser cahce.

However, it works now with (clean install/Update, i.e. download the zip file andexpand it) of webtrees 2.0.0.1

Regards
Helmut

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

More
4 years 3 months ago #13 by Andrej
Replied by Andrej on topic Strange behaviour of User Administration
I found my mistake.
I did not update base_url in config.ini.php.
Now this problem is gone.

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

Powered by Kunena Forum
}