Added error page when sub-pages fail