An error has occurred in the TNG software. What to do:

If you just installed an upgrade, you might have skipped part of the installation instructions. Go back to the upgrade readme page reread the instructions. Pay special attention to the database structure step.

If you just installed TNG for the first time, you might still need to create the database tables. Return to the readme.html page to find that step.

If you are the site owner, you may contact TNG support for further assistance with this problem. Please copy the query below and paste it into your message.

Query: SELECT, tng_people.private, lnprefix, prefix, suffix, title, tng_people.branch, birthdate, birthdatetr, altbirthdate, altbirthdatetr, deathdate, deathdatetr,lastname, firstname,e6.eventdate as eventdate6, tng_people.personID, tng_people.gedcom, nameorder FROM (tng_people ) LEFT JOIN tng_events e6 ON tng_people.personID = e6.persfamID AND tng_people.gedcom = e6.gedcom AND e6.eventtypeID = "6" LEFT JOIN tng_events e36 ON tng_people.personID = e36.persfamID AND tng_people.gedcom = e36.gedcom AND e36.eventtypeID = "36" WHERE (( e6.eventdate ) AND (( !=1 && tng_people.private != 1))) ORDER BY e6.eventdate LIMIT 50

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'e6.eventdate ) AND (( !=1 && tng_people.private != 1))) ORDER ' at line 1