Question ERROR 8 problem
- geroronimo
- Topic Author
- Visitor
I'm trying to migrate my PhpGedView (4.2.4) installation to webtrees (1.4.1), but it stops with the following error:
/hsphere/local/home/geroroni/geroronimo.net/gen/index/config.php => wt_site_setting ...
pgv_site_setting => wt_site_setting ...
pgv_gedcom => wt_gedcom ...
pgv_gedcom_setting => wt_gedcom_setting ...
pgv_user => wt_user ...
pgv_user_setting => wt_user_setting ...
pgv_user_gedcom_setting => wt_user_gedcom_setting ...
Reading configuration file ../gen/./index/audun.ged_conf.php
Reading privacy file ../gen/./index/audun.ged_priv.php
ERROR 8: Undefined variable: NO_UPDATE_CHAN
0 Error occurred on line 716 of file admin_pgv_to_wt.php
Any ideas what is wrong?
I guess a variable NO_UPDATE_CHAN (presumably in audun.ged_priv.php) should be defined, but where and how?
Any help is much appreciated!
Audun
Please Log in or Create an account to join the conversation.
- kiwi
- Offline
- Platinum Member
Nigel
www.our-families.info
Please Log in or Create an account to join the conversation.
- geroronimo
- Topic Author
- Visitor
Set and save, and I got further in the wizard (now it hangs at "Genealogy records ...", and I guess I got som cleaning up to do in my Gedcom file - but it's progress!).
Thanks a lot!
Audun
Please Log in or Create an account to join the conversation.
- kiwi
- Offline
- Platinum Member
Nigel
www.our-families.info
Please Log in or Create an account to join the conversation.
- geroronimo
- Topic Author
- Visitor
Audun
Please Log in or Create an account to join the conversation.
- kiwi
- Offline
- Platinum Member
No, I didn't mean that long. Minutes yes, hours, no, not even for a 100,000 person tree!
I doubt its related to those GEDCOM errors either, as they would be transferred as they are, leaving you the opportunity to tidy them up in webtrees.
It sounds to me more like one of your DBs is corrupt. Is PGV working OK?
Nigel
www.our-families.info
Please Log in or Create an account to join the conversation.
- geroronimo
- Topic Author
- Visitor
-Audun
Please Log in or Create an account to join the conversation.
- kiwi
- Offline
- Platinum Member
Otherwise, try fixing those errors in PGV and run the wizard again. At least that will eliminate one possible issue.
Nigel
www.our-families.info
Please Log in or Create an account to join the conversation.
- geroronimo
- Topic Author
- Visitor
Audun
Please Log in or Create an account to join the conversation.
- HenkK
- Offline
- New Member
When I click a link like MyPage, I have to log in again.
How can I enable error messages? I have no idea where to look for the error.
Phpgedview is. 4.2.4 stable
webtrees is 1.4.1
Running under Ubuntu 13.04
Php is 5.4.9-4ubuntu2
Apache 2.2.22 ubuntu
webtrees is 2.1.18
Raspberry Pi with latest OS (Bullseye)
Php is 8.1.25
Apache/2.4.56 (Raspbian)
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
I also have the problem that the wizard hangs at. "Genealogy records ..."
At this stage, webtrees is simply copying data from 5 PGV tables into one webtrees table.
There is little to go wrong......
You could try adding some "echo 'xxx';" statements between the SQL statements to see which one fails. (Line ~1000 of admin_pgv_to_wt.php).
How can I enable error messages?
You enable PHP error messages in your PHP configuration file (e.g. php.ini). You need to look for the "display_errors" setting, and the "error_reporting" settings.
webtrees also logs many errors. Administration -> Logs
When I click a link like MyPage, I have to log in again.
This is normal. The import wizard replaces the current list of user accounts with the user accounts from PGV. The account you used to start the wizard was deleted - hence you must now log in with one of the accounts from PGV.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- HenkK
- Offline
- New Member
I also compared the tables for PGV and WT and noticed that no fields were copied from PGV to WT
I get the following error message:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`webtrees`.`wt_gedcom_chunk`, CONSTRAINT `wt_gedcom_chunk_ibfk_1` FOREIGN KEY (`gedcom_id`)
Can itbe that I have PGV and webtrees in different folders (different virtual apache servers)? ../genealogie and ../genealogie2
The wizard however does find my PGV installation :
This thread is not an "ERROR 8 problem" Let me know if I should start a new topic
webtrees is 2.1.18
Raspberry Pi with latest OS (Bullseye)
Php is 8.1.25
Apache/2.4.56 (Raspbian)
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
[ Perhaps you once deleted a GEDCOM, but the operation did not complete properly? ]
In particular, one of these tables/columns
pgv_media.m_gedfile
pgv_sources.s_file
pgv_families.f_file
pgv_individuals.i_file
pgv_other.o_file
contains an entry that cannot be found in PGV's list of GEDCOMs.
Are you able to find/delete the erroneous rows?
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
bugs.launchpad.net/webtrees/+bug/1181682
I'll try to get this fixed for the next release.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.