This has been solved - the tpl_main_page.php had an error in it....