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 6 months 3 weeks ago #41

  • otmar.mayr
  • otmar.mayr's Avatar
  • Offline
  • Junior
  • Posts: 199
webtrees-2-0-0-alpha-1

PHP 7.0.11
Otmar Mayr - www.verwandten.info
The administrator has disabled public write access.

webtrees 2.0.0-alpha.1 and 1.7.10 6 months 3 weeks ago #42

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11224
The latest version is 2.0.0-alpha.4 I plan to release alpha.5 this weekend.

webtrees 2.0.0 requires PHP 7.1 or later.
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 6 months 3 weeks ago #43

  • otmar.mayr
  • otmar.mayr's Avatar
  • Offline
  • Junior
  • Posts: 199
I use now PHP 7.2.12 and got this error:

An unexpected database error occurred.

SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails ("usr_xxxxxxxxx"."wt_block", CONSTRAINT "wt_block_module_name_foreign" FOREIGN KEY ("module_name") REFERENCES "wt_module" ("module_name")) (SQL: insert into `wt_block` (`gedcom_id`, `location`, `block_order`, `module_name`) values (-1, main, 1, gedcom_stats))
#0 /var/www/xxxxxxxxx/html/wtalpha/vendor/illuminate/database/Connection.php(624): Illuminate\Database\Connection->runQueryCallback('insert into `wt...', Array, Object(Closure))
#1 /var/www/xxxxxxxxx/html/wtalpha/vendor/illuminate/database/Connection.php(459): Illuminate\Database\Connection->run('insert into `wt...', Array, Object(Closure))
#2 /var/www/xxxxxxxxx/html/wtalpha/vendor/illuminate/database/Connection.php(411): Illuminate\Database\Connection->statement('insert into `wt...', Array)
#3 /var/www/xxxxxxxxx/html/wtalpha/vendor/illuminate/database/Query/Builder.php(2611): Illuminate\Database\Connection->insert('insert into `wt...', Array)
#4 /var/www/xxxxxxxxx/html/wtalpha/app/Schema/SeedBlockTable.php(70): Illuminate\Database\Query\Builder->insert(Array)
#5 /var/www/xxxxxxxxx/html/wtalpha/app/Schema/SeedDatabase.php(37): Fisharebest\Webtrees\Schema\SeedBlockTable->run()
#6 /var/www/xxxxxxxxx/html/wtalpha/app/Http/Controllers/SetupController.php(276): Fisharebest\Webtrees\Schema\SeedDatabase->run()
#7 /var/www/xxxxxxxxx/html/wtalpha/app/Http/Controllers/SetupController.php(116): Fisharebest\Webtrees\Http\Controllers\SetupController->createConfigFile(Array)
#8 /var/www/xxxxxxxxx/html/wtalpha/index.php(91): Fisharebest\Webtrees\Http\Controllers\SetupController->setup(Object(Symfony\Component\HttpFoundation\Request))
#9 {main}
Otmar Mayr - www.verwandten.info
The administrator has disabled public write access.

webtrees 2.0.0-alpha.1 and 1.7.10 6 months 3 weeks ago #44

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11224
I don't know which version of webtrees you are trying to install.

I suggest you either download the latest development code (github.com/fisharebest/webtrees/archive/master.zip) or wait for 2.0.0-alpha.5
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 3 months 2 weeks ago #45

  • Theo1968
  • Theo1968's Avatar
  • Offline
  • New
  • Posts: 11
Hi, I'm new here so maybe i ask the question in the wrong topic. Sorry for that.

I used allready 2.00 dev so the alpha was a nice upgrade i thought.
This is the message i get on the login page

/www/genealogie/webtrees/includes/session.php:277 Call to private method Fisharebest\Webtrees\Session::setSaveHandler() from context '' #0 /login.php:26 Error("Call to private method Fisharebest\Webtrees\Session::setSaveHandler() from context ''")

What am i doing wrong or did i forget something?
Thanks
The administrator has disabled public write access.

webtrees 2.0.0-alpha.1 and 1.7.10 3 months 2 weeks ago #46

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11224
> This is the message i get on the login page

The script "login.php" was part of webtrees 1.
It is not part of webtrees 2.

Where do you see a link to this script?
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 3 months 2 weeks ago #47

  • Theo1968
  • Theo1968's Avatar
  • Offline
  • New
  • Posts: 11
Hi fisharebest,

Thank you for responding.
I hope this is what you mean. On my home page (www.pouw.org) i have a link to the Genealogie databas (it's Dutch). On clicking you go to my page www.pouw.org/genealogie/webtrees/login.php
That was allready in place with my previous version. Do I need to point it to another page?
The administrator has disabled public write access.

webtrees 2.0.0-alpha.1 and 1.7.10 3 months 2 weeks ago #48

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11224
> Do I need to point it to another page?

Yes.

You should replace "login.php" with "index.php?route=login"
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.
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 3 months 2 weeks ago #49

  • Andreas
  • Andreas's Avatar
  • Offline
  • Senior
  • Posts: 349
Please allow me a curious question :

Why do I obtain only a white page when trying to have a look at https://www.pouw.org/genealogie/webtrees/index.php?route=login ??
always searching for members of the MAUPILLÉ and RAUHUT family using a common webtrees installation.
The administrator has disabled public write access.

webtrees 2.0.0-alpha.1 and 1.7.10 3 months 2 weeks ago #50

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11224
The page gives a "500" error.

There will be more information in the webserver error log.
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 3 months 2 weeks ago #51

  • Theo1968
  • Theo1968's Avatar
  • Offline
  • New
  • Posts: 11
A quick response before i go to work.



See attached error log.
The administrator has disabled public write access.

webtrees 2.0.0-alpha.1 and 1.7.10 3 months 2 weeks ago #52

  • Theo1968
  • Theo1968's Avatar
  • Offline
  • New
  • Posts: 11
I cant attach so a snippit of the log
[Thu May 02 06:01:48.596575 2019] [:error] [pid 18830:tid 139636282218240] [client 217.123.86.144:3220] FastCGI: server "/var/run/php71-cgi/php-cgi" stderr: PHP message: PHP Fatal error: Access level to Fisharebest\\Webtrees\\Theme\\AdministrationTheme::primaryMenu() must be public (as in class Fisharebest\\Webtrees\\Theme\\AbstractTheme) in /www/genealogie/webtrees/app/Theme/AdministrationTheme.php on line 27, referer: www.webtrees.net/index.php/en/forum/3-he...-and-1-7-10?start=40
[Thu May 02 06:02:36.424452 2019] [:error] [pid 18830:tid 139636299003648] [client 217.123.86.144:54704] FastCGI: server "/var/run/php71-cgi/php-cgi" stderr: PHP message: PHP Fatal error: Access level to Fisharebest\\Webtrees\\Theme\\AdministrationTheme::primaryMenu() must be public (as in class Fisharebest\\Webtrees\\Theme\\AbstractTheme) in /www/genealogie/webtrees/app/Theme/AdministrationTheme.php on line 27
The administrator has disabled public write access.

webtrees 2.0.0-alpha.1 and 1.7.10 3 months 2 weeks ago #53

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11224
This file (AdministrationTheme) was part of webtrees 1.
It does not exist in webtrees 2.

Note: old files should be harmless - they are simply unused.
But perhaps you are calling one of them directly - as you did with your link to the login page.
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 3 months 2 weeks ago #54

  • Theo1968
  • Theo1968's Avatar
  • Offline
  • New
  • Posts: 11
Thankfull for the help so far.

I changes the link to webtrees as suggested ( www.pouw.org/genealogie/webtrees/index.php?route=login). I don't know any other straight links.
Wiill that be in a config file? And if so which?

I'm more or less a newby on webtrees. Normaly an copy/paste action was enough to get started. So as far as i know i didn't configer very much.

Can i delete all files and folders and replace them with the webtrees 2.0 alpha ones or is that too riskfull
The administrator has disabled public write access.

webtrees 2.0.0-alpha.1 and 1.7.10 3 months 2 weeks ago #55

  • mp
  • mp's Avatar
  • Offline
  • Junior
  • Posts: 226
If you are new with webtrees I suggest to use webtrees 1.7. It works.
Martin - ffp.bauschaffen.de
The administrator has disabled public write access.

webtrees 2.0.0-alpha.1 and 1.7.10 3 months 2 weeks ago #56

  • Theo1968
  • Theo1968's Avatar
  • Offline
  • New
  • Posts: 11
Thanks, but I was allready on 2.00 DEV because of other errors.
Can you easily go back to 1.7?

I did a full backup of my site and all is back to normal.
I still want to move forward from 2.0.0-dev to a next version. What is the best approach for that?
Last Edit: 3 months 2 weeks ago by Theo1968.
The administrator has disabled public write access.

webtrees 2.0.0-alpha.1 and 1.7.10 3 months 2 weeks ago #57

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11224
> 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.
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 3 months 2 weeks ago #58

  • Theo1968
  • Theo1968's Avatar
  • Offline
  • New
  • Posts: 11
Ok thanks. After the restore of the backup to 2.00 dev I changed the direct link to www.pouw.org/genealogie/webtrees/index.php?route=login and that works :-)
I'll wait for the better release and try upgrading again.
The administrator has disabled public write access.

webtrees 2.0.0-alpha.1 and 1.7.10 3 months 2 weeks ago #59

  • nuxiong
  • nuxiong's Avatar
  • Offline
  • New
  • Posts: 94
:(
I don't know why, my website is open in English, not Chinese.
The administrator has disabled public write access.

webtrees 2.0.0-alpha.1 and 1.7.10 3 months 2 weeks ago #60

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11224
nuxiong wrote:
:(
I don't know why, my website is open in English, not Chinese.

I guess it is because your web-browser is requesting 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.
Powered by Kunena Forum