How are you
determining that there's no Main Page? Note that it is
stored in the db as "Main_Page".
It is empty in the new wiki.
The db of which was copied from the old one by phpmyadmin.
What's the result of doing SELECT * FROM page WHERE