Before asking for help please read "How to request help" by clicking on that tab above here.
  • Page:
  • 1

TOPIC: Strange behaviour of User Administration

Strange behaviour of User Administration 1 year 1 week ago #1

  • hlein
  • hlein's Avatar Topic Author
  • Offline
  • Junior
  • Junior
  • Posts: 153
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.

Strange behaviour of User Administration 1 year 1 week ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 12895
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 - 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.

Strange behaviour of User Administration 1 year 1 week ago #3

  • hlein
  • hlein's Avatar Topic Author
  • Offline
  • Junior
  • Junior
  • Posts: 153
there is no request to be seen in the XHR tab.
Regards
Helmut

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

Strange behaviour of User Administration 1 year 1 week ago #4

  • hlein
  • hlein's Avatar Topic Author
  • Offline
  • Junior
  • Junior
  • Posts: 153
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.

Strange behaviour of User Administration 1 year 1 week ago #5

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 12895
> there is no request to be seen in the XHR tab.

Are there any error message in the "console" tab?
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.

Strange behaviour of User Administration 1 year 1 week ago #6

  • hlein
  • hlein's Avatar Topic Author
  • Offline
  • Junior
  • Junior
  • Posts: 153
in chrome two requests:
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.

Strange behaviour of User Administration 1 year 1 week ago #7

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 12895
webtrees is creating two different URLs - https and http:443
https://www.familie-leininger.at/wt-test/index.php?route=admin-users
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 - 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.

Strange behaviour of User Administration 1 year 1 week ago #8

  • hlein
  • hlein's Avatar Topic Author
  • Offline
  • Junior
  • Junior
  • Posts: 153
No. I did not modify anything in the scripts.
Regards
Helmut

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: 

Strange behaviour of User Administration 1 year 1 week ago #9

  • hlein
  • hlein's Avatar Topic Author
  • Offline
  • Junior
  • Junior
  • Posts: 153
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.

Strange behaviour of User Administration 1 year 1 week ago #10

  • hlein
  • hlein's Avatar Topic Author
  • Offline
  • Junior
  • Junior
  • Posts: 153
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.

Strange behaviour of User Administration 4 months 3 weeks ago #11

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.

Strange behaviour of User Administration 4 months 3 weeks ago #12

  • hlein
  • hlein's Avatar Topic Author
  • Offline
  • Junior
  • Junior
  • Posts: 153
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.

Strange behaviour of User Administration 4 months 3 weeks ago #13

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.

  • Page:
  • 1
Powered by Kunena Forum