For issues related to the current stable release please use it's own Help forum.
IMPORTANT:Please read this before using an git or nightly build version: wiki.webtrees.net/en/GIT

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

TOPIC: webtrees 2.0.0-alpha.1 and 1.7.10

webtrees 2.0.0-alpha.1 and 1.7.10 4 months 2 weeks ago #61

  • nuxiong
  • nuxiong's Avatar
  • Offline
  • Junior
  • Posts: 102
I use all mobile browser tests to display English, the default language of the browser is Chinese.
The administrator has disabled public write access.

webtrees 2.0.0-alpha.1 and 1.7.10 4 months 2 weeks ago #62

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11357
Perhaps your browser is actually asking for English.

See github.com/fisharebest/webtrees/issues/2359
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

webtrees 2.0.0-alpha.1 and 1.7.10 4 months 1 week ago #63

  • Theo1968
  • Theo1968's Avatar
  • Offline
  • New
  • Posts: 11
fisharebest wrote:
> I still want to move forward from 2.0.0-dev to a next version. What is the best approach for that?

Wait for the next beta release. Hopefully this weekend.

Any news on the release?
The administrator has disabled public write access.

webtrees 2.0.0-alpha.1 and 1.7.10 4 months 1 week ago #64

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11357
beta.2 is now available from github.com/fisharebest/webtrees/releases

Please report any issues on the github tracker.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

webtrees 2.0.0-alpha.1 and 1.7.10 4 months 1 week ago #65

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11357
BTW - the automatic upgrade might not work - there were some problems in the beta.1 (and possibly earlier) versions.

You will probably need to upgrade manually.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

webtrees 2.0.0-alpha.1 and 1.7.10 4 months 1 week ago #66

  • nuxiong
  • nuxiong's Avatar
  • Offline
  • Junior
  • Posts: 102
Hello, Simplified Chinese "BC", how to translate it into a park. thank you. Gred
Last Edit: 4 months 1 week ago by nuxiong.
The administrator has disabled public write access.

webtrees 2.0.0-alpha.1 and 1.7.10 4 months 1 week ago #67

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11357
The translations for BC can be found here:

weblate.iet.open.ac.uk/translate/webtree...ignored=False#others
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

webtrees 2.0.0-alpha.1 and 1.7.10 4 months 1 week ago #68

  • Theo1968
  • Theo1968's Avatar
  • Offline
  • New
  • Posts: 11
fisharebest wrote:
beta.2 is now available from github.com/fisharebest/webtrees/releases

Please report any issues on the github tracker.

Manualy updated the site, but didn't work.
At the login page I got the Firefox message that the form was nog secure. Eventhough I have al SSL/Https site (green lock was shown also).
And when I tried to login anyway I couldn't.

I searched the github tracker and I also got the redirect url as mentioned in #1627. In that tracker you mentioned The login/logout forms are missing their CSRF tokens.
But I found no solution to that problem.

So I rolled back again.
The administrator has disabled public write access.
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: 

webtrees 2.0.0-alpha.1 and 1.7.10 4 months 1 week ago #69

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11357
> At the login page I got the Firefox message that the form was nog secure

Do you get the same message on the demo site?
If not, then perhaps there is an issue with your SSL configuration? Are you using a self-signed certificate?
Can you post the URL of your site so I can take a look?

Are you running your site behind a reverse-proxy? If so, then improved support for this will be coming in the next beta release.

> The login/logout forms are missing their CSRF tokens.

The login form does have a CSRF token. I just checked on the demo site:

The logout action now uses the GET method (not POST), and so does not use/need a CSRF token.

I'd be really happy to help you with this, but you haven't given us much information to work with.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

webtrees 2.0.0-alpha.1 and 1.7.10 4 months 6 days ago #70

  • Theo1968
  • Theo1968's Avatar
  • Offline
  • New
  • Posts: 11
> Do you get the same message on the demo site?

No

>If not, then perhaps there is an issue with your SSL configuration? Are you using a self-signed certificate?
Can you post the URL of your site so I can take a look?

My site

>Are you running your site behind a reverse-proxy? If so, then improved support for this will be coming in the next beta release.

Not as far as I know
The administrator has disabled public write access.

webtrees 2.0.0-alpha.1 and 1.7.10 4 months 6 days ago #71

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11357
Thanks. It is always easier to diagnose problems when you can see the site!

The problem is that you are using HTTPS - but webtrees does not know this.

It is "auto-detecting" that the incoming request is HTTP. Hence it is generating URLs (e.g. for the form submission) using HTTP.

A frequent server configuration is that you have a webserver which listens for HTTPS connections, and the webserver forwards (aka "reverse proxies") the request to a PHP server using HTTP.

PHP sees the HTTP connection - and so generates HTTP URLs.

You can investigate this by creating a test file (e.g. "phpinfo.php") as follows on your server.
<?php phpinfo(INFO_VARIABLES);

View the page with your browser. Here's the relevant info from my test server:



There are two lines that tell us that this is a HTTPS connection (HTTPS=on and SERVER_PORT=443).

Presumably you don't have these lines...

You may have other lines such as "HTTP_FORWARDED_PROTO=http" or "HTTP_FORWARDED_PORT=443".
These are currently ignored - but support for them is coming soon.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

webtrees 2.0.0-alpha.1 and 1.7.10 4 months 6 days ago #72

  • Theo1968
  • Theo1968's Avatar
  • Offline
  • New
  • Posts: 11
No problem. I try too help :-)

>There are two lines that tell us that this is a HTTPS connection (HTTPS=on and SERVER_PORT=443). Presumably you don't have these lines...
>You may have other lines such as "HTTP_FORWARDED_PROTO=http" or "HTTP_FORWARDED_PORT=443".
>These are currently ignored - but support for them is coming soon.

I checked with php.info (and removed it) and your conclusion is correct.

$_SERVER['HTTP_X_FORWARDED_PROTO']	https

>These are currently ignored - but support for them is coming soon.

I'd better wait for the support on that. No need for fixing it on my end in a hurry. I did a rollback again and wait for the next version.
Last Edit: 4 months 6 days ago by fisharebest.
The administrator has disabled public write access.
Powered by Kunena Forum