Last week I have finally re-imported my forum which has been around since the year 2000 into phpBB 3.2.1 (and then upgraded it to 3.2.2).
Doing so, it seems like all replies got orphaned; they don't belong to a topic anymore.
From looking at the database in phpMyAdmin I couldn't immediately see what are the essential tables that link the posts to a topic, and whether there's a way to restore the link, any clues?
(I based my import on this code).