Closed (works as designed)
Project:
Drupal core
Version:
6.14
Component:
theme system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Nov 2009 at 13:34 UTC
Updated:
1 Dec 2011 at 13:35 UTC
I was updating a Drupal site and faced this issue :
I created a simple maintenance-page.tpl.php page, with company logo and message. Put the site in offline mode so that it shows the message from maintenance-page.tpl.php
...all task required for updates...
When I visited the update.php and it shows the same maintenance page, and no update option. After few hours of debugging, figured out that update.php uses the site theme and need to print the $content variable in the maintenance-page.tpl.php
:)
Comments
Comment #1
devin carlson commentedThe content variable is used in the stock maintenance.tpl.php file and as you mentioned, should not be removed.
See (http://api.drupal.org/api/drupal/modules--system--maintenance-page.tpl.p...).
Comment #2
victoriachan commentedAh, this has saved me hours of debugging. Thanks for sharing!