I read API and put files theme folder.

maintenance-page.tpl.php works well,

but maintenance-page--offline.tpl.php don't work.

How theming off-line page ?


Are you sure that your database server was offline when you tested ? The API description says

"maintenance-page--offline.tpl.php" can be used when the database is offline to hide errors and completely replace the content.

  • Yes, I'm sure. I see `Error The website encountered an unexpected error. Please try again later. Error message PDOException: SQLSTATE[HY000] [2003] Can't connect to MySQL server on 'localhost' (10061) in lock_may_be_available() (line 164 of xxx\includes\lock.inc).' – vitaly.batonov Aug 15 '11 at 19:30
  • I see, it could be a bug then I don't have time to reproduce it now. Please file an issue here drupal.org/node/add/project-issue/… – Sivaji Aug 16 '11 at 18:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.