I am following this tutorial. https://www.drupal.org/node/195435.
I have created maintenance page and its working with admin configuration site under maintenance setting. I want to create dboffline mode maintenance page. so for that, i have created another tpl "maintenance-page--offline" in same directory where "maintenance-page.tpl.php" has created. Path is like sites/all/theme/mytheme/templates/
.
previously it was working but currently its showing me Additional uncaught exception thrown while handling exception.
error. Its not overriding maintenance-page--offline when i am disconnecting DB, by entering wrong password in settings.php file.