sandshakimi
asked on
Maintenance Offline Page Not Working
I followed the instructions on http://drupal.org/node/195435, created my maintenance-page.tpl.php and maintenance-page--offline. tpl.php and put it inside the templates folder of my custom theme.
1) Putting the site in maintenance mode works, so maintenance-page.tpl.php works.
2) But disconnecting my database to test maintenance-page--offline. tpl.php didn't work.
Here's the error I get.
sc-2.JPG
1) Putting the site in maintenance mode works, so maintenance-page.tpl.php works.
2) But disconnecting my database to test maintenance-page--offline.
Here's the error I get.
sc-2.JPG
ASKER
My understanding is that maintenance-page--offline is used specifically for database disconnects. That was it's purpose. Am I wrong? Otherwise, what's the purpose?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Well, the fact that maintenance-page.tpl.php works, indicates that my $conf is correct.
I'm trying to figure out why maintenance-page--offline. tpl.php is not working.
For some reason, Drupal is not seeing it.
I'm trying to figure out why maintenance-page--offline.
For some reason, Drupal is not seeing it.
maybe something like this.
RewriteEngine on
RewriteRule $ /maintenance.php [R=302,L]