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 CONCAT('', p.personid,'') AS ChildID, CONCAT(p.lnprefix,' ',p.lastname,', ', p.firstname) AS Name, p.birthdate, p.birthplace, p.deathdate, p.deathplace, CONCAT( h.firstname, ' ',h.lnprefix,' ', h.lastname ) AS Father, CONCAT( w.firstname, ' ', w.lastname ) AS Mother, CASE WHEN p.sex = 'F' THEN CONCAT( p2.firstname, ', ', p2.lnprefix,' ',p2.lastname ) ELSE CONCAT( p3.firstname, ', ', p3.lnprefix,' ',p3.lastname ) END AS Spouse FROM tng_families AS f LEFT JOIN tng_people AS h ON f.husband = h.personID AND f.gedcom = h.gedcom LEFT JOIN tng_people AS w ON f.wife = w.personID AND f.gedcom = w.gedcom INNER JOIN tng_people AS p ON f.familyID = p.famc AND f.gedcom = p.gedcom LEFT JOIN tng_families AS f2 ON p.personID = f2.wife AND p.gedcom = f2.gedcom LEFT JOIN tng_people AS p2 ON f2.husband = p2.personID AND f2.gedcom = p2.gedcom LEFT JOIN tng_families AS f3 ON p.personID = f3.husband AND p.gedcom = f3.gedcom LEFT JOIN tng_people AS p3 ON f3.wife = p3.personID AND f3.gedcom = p3.gedcom where p.living = '0' ORDER BY p.lastname, h.lastname, h.firstname, w.lastname, w.firstname LIMIT 800

Lost connection to MySQL server during query