Jump to content
TNG Community
pbuck00

Gedcom export

Recommended Posts

pbuck00

I didn't want to highjack the other GEDCOM questions so I am starting this as a new topic.

I am trying to use the admin GEDCOM export function.  Currently using 13.1.1.  I did a fresh install of 13.1.1.  Ran Setup to have TNG create new tables and then imported backups into the database.

When I try to run an export I get:

I10 I20 I30 I40 I50 Fatal error: Uncaught ArgumentCountError: Too few arguments to function doNote(), 2 passed in /volume1/web/footsteps/admin_gedcom2.php on line 131 and at least 3 expected in /volume1/web/footsteps/admin_gedcom2.php on line 276 ArgumentCountError: Too few arguments to function doNote(), 2 passed in /volume1/web/footsteps/admin_gedcom2.php on line 131 and at least 3 expected in /volume1/web/footsteps/admin_gedcom2.php on line 276 Call Stack: 0.0001 426264 1. {main}() /volume1/web/footsteps/admin_gedcom2.php:0 0.7148 1383416 2. writeIndividual() /volume1/web/footsteps/admin_gedcom2.php:1416 0.7202 1391432 3. writeCitation() /volume1/web/footsteps/admin_gedcom2.php:713 0.7202 1391544 4. doNote() /volume1/web/footsteps/admin_gedcom2.php:131

Share this post


Link to post
Share on other sites
Rob Severijns

What did you restore into the database? 

Old tables to overwrite the newly created tables?

Have you imported a GEDCOM from your previous installation?

I have never restored the old tables when doing a clean install.

Only ran the setup and imported the last GEDCOM from before the fresh install.

What I usualy do is described in this link: Import Data

Rob

Share this post


Link to post
Share on other sites
theKiwi
19 hours ago, pbuck00 said:

didn't want to highjack the other GEDCOM questions so I am starting this as a new topic.

I am trying to use the admin GEDCOM export function.  Currently using 13.1.1.  I did a fresh install of 13.1.1.  Ran Setup to have TNG create new tables and then imported backups into the database.

When I try to run an export I get:

I10 I20 I30 I40 I50 Fatal error: Uncaught ArgumentCountError: Too few arguments to function doNote(), 2 passed in /volume1/web/footsteps/admin_gedcom2.php on line 131 and at least 3 expected in /volume1/web/footsteps/admin_gedcom2.php on line 276 ArgumentCountError: Too few arguments to function doNote(), 2 passed in /volume1/web/footsteps/admin_gedcom2.php on line 131 and at least 3 expected in /volume1/web/footsteps/admin_gedcom2.php on line 276 Call Stack: 0.0001 426264 1. {main}() /volume1/web/footsteps/admin_gedcom2.php:0 0.7148 1383416 2. writeIndividual() /volume1/web/footsteps/admin_gedcom2.php:1416 0.7202 1391432 3. writeCitation() /volume1/web/footsteps/admin_gedcom2.php:713 0.7202 1391544 4. doNote() /volume1/web/footsteps/admin_gedcom2.php:131

Did your Restore include the table_structure backup? It''s possible this list of errors is caused by the tables and fields setup on the previous site were different from the table structures of a new install. I don't know if this is possible now, but certainly back some versions of TNG the table fields of a site that had been upgraded a number of times weren't in the same order as a newly created site.

Roger

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×