Fixed bug in Table/Page.php
Fixed template directory for error messages