If you need to upgrade your PGV installation, then hopefully you will also consider that you can conveniently move to webtrees with our PGV-to-webtrees wizard. It will move ALL your users, news, favorites and family trees to webtrees in a matter of minutes.

TOPIC: [SOLVED] switch from PHPGedView to Webttrees

switch from PHPGedView to Webttrees 3 years 2 months ago #1

  • Luenissla
  • Luenissla's Avatar
  • Offline
  • Junior
  • Posts: 135
I'm trying to switch from PHPGedView to Webttrees .

PGV (4.2.4) is here: http://www.bvff.de/PhpGV/ or http://datenpool.bvff.de
WT should go there: http://www.bvff.de/PoolWT

The wizard stops after 16 of 60 files with the error:

PHP Fatal error: Call to a member function getUserId () on zero in /is/htdocs/.../www/bvff/PoolWT/admin_pgv_to_wt.php on line 769, referer: www.bvff.de/PoolWT/admin_pgv_to_wt.php

769: $stmt_gedcom_setting->execute(array($GED_DATA, 'CONTACT_USER_ID', User::findByIdentifier($CONTACT_EMAIL)->getUserId()));

There is no duplicate mail address.
All users have an email address.

What can cause this error?

The help page wiki.webtrees.net/en/Converting_from_PhpGedView is not realy helpful.
Best regards
Hans-Joachim (Lünenschloß)
The administrator has disabled public write access.

switch from PHPGedView to Webttrees 3 years 2 months ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11117
I guess that in PGV, you have specified a "Genealogy contact" or a "Technical contact" which does not exist.

Delete or fix this, and the wizard should continue.
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.

switch from PHPGedView to Webttrees 3 years 2 months ago #3

  • Luenissla
  • Luenissla's Avatar
  • Offline
  • Junior
  • Posts: 135
Yes, at the "cleanup" of users I have some mistakenly deleted. That was "a shot in the knee."

Now the implementation of the trees works - a little bit slow -, I hope it holds through.
Best regards
Hans-Joachim (Lünenschloß)
The administrator has disabled public write access.

switch from PHPGedView to Webttrees 3 years 2 months ago #4

  • Luenissla
  • Luenissla's Avatar
  • Offline
  • Junior
  • Posts: 135
The Intallatioan is stilll working: slowly but surely.

The most of the files have now been completed.

Sometimes a new error occured, for Example:

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '52-M1' for key 'PRIMARY'

What may this be, because such Key does not exist in the Gedom-file?

What is to do?
Export from the PGV-Installation and new Import as an fileupdate?
Best regards
Hans-Joachim (Lünenschloß)
The administrator has disabled public write access.

switch from PHPGedView to Webttrees 3 years 2 months ago #5

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11117
> What may this be

It is difficult to answer this question, as the error message does not give us enough information.

> Export from the PGV-Installation and new Import as an fileupdate?

Yes - you can try this.
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.

switch from PHPGedView to Webttrees 3 years 2 months ago #6

  • Luenissla
  • Luenissla's Avatar
  • Offline
  • Junior
  • Posts: 135
Thanks for the support.
All problematic files were running now through without problems.
Best regards
Hans-Joachim
Best regards
Hans-Joachim (Lünenschloß)
The administrator has disabled public write access.

[SOLVED] switch from PHPGedView to Webttrees 3 years 2 months ago #7

  • Luenissla
  • Luenissla's Avatar
  • Offline
  • Junior
  • Posts: 135
Problem solved.
Best regards
Hans-Joachim (Lünenschloß)
The administrator has disabled public write access.
Powered by Kunena Forum