No SQL Splash Page

Hello,

I have a small problem that when my SQL server is down, the ENTIRE site is off-line. I know I can manually swap in and out a temporary index.html page but I rather automate the process. This week, my service provider had problems with the SQL server and my site was down for a week before I realized it (I was on vacation)

IS there a way to automatically display a splash page of sorts that states that something is wrong and allows for rudimentary navigation of at least raw picture folders? Or at a minimum, a simple HTML page with some info about the site being down instead of an SQL error page?

Thank you so much.
Manny
www.thrustimages.com

Comments

  • acrylian Administrator, Developer
    Sorry, there is nothing like that. A user made a "closedforupdate" plugin recently (see the extensions) but that requires manual activation. You might be able to modify that to your requirements.
  • There was a post here about a plugin for "under construction" (of some such). Take a look at the early versions. Basically what he did is replace the root index.php script with a custom one. {not that I am recommending replacing scripts!}

    You could do something like that, detect that MySQL is missing, and display a special screen if it is.
  • Thanks guys! :-)
Sign In or Register to comment.