An error has occurred in the TNG software. This could be due to a setup issue, an incomplete upgrade or a program bug. If you are the site owner, you may contact TNG support for help with this problem. Please copy the query below and paste it into your message.

Query: SELECT p1.living, p1.personID, p1.lastname AS Last_Name, p1.firstname AS Given_Name, p1.birthdate AS Birth_Date, p1.changedby, p1.edituser as editor1, p2.living, p2.personID AS ID2, p2.firstname AS Given_Name2, IF( p1.lastname <> p2.lastname, p2.lastname, "" ) AS Last_Name2, p2.birthdate AS Birth_Date2,p1.changedby, p2.edituser as editor2, ABS( DATEDIFF( p1.birthdatetr, p2.birthdatetr ) ) AS days, year(p2.deathdatetr)- year(p2.birthdatetr) as 2nd_age, p1.gedcom FROM tng_children AS c1 LEFT JOIN tng_people AS p1 ON ( p1.personID = c1.personID AND p1.gedcom = c1.gedcom ) LEFT JOIN tng_children AS c2 ON ( c2.familyID = c1.familyID AND c2.gedcom = c1.gedcom ) LEFT JOIN tng_people AS p2 ON ( p2.personID = c2.personID AND p2.gedcom = c1.gedcom AND p1.birthdatetr < p2.birthdatetr ) WHERE p1.birthdatetr <> "0000-00-00" AND p2.birthdatetr <> "0000-00-00" AND ABS( DATEDIFF( p1.birthdatetr, p2.birthdatetr ) ) <273 AND ABS( DATEDIFF( p1.birthdatetr, p2.birthdatetr ) ) > 2 AND p1.personID <> p2.personID AND year(p2.deathdatetr)- year(p2.birthdatetr) != 0 ORDER BY days, p1.lastname LIMIT 800

Lost connection to MySQL server during query