Member
Member
gonzalu   14-09-2010, 03:32
#1

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

Administrator
Administrator
acrylian   14-09-2010, 08:20
#2

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.

Member
Member
sbillard   14-09-2010, 20:30
#3

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.

Member
Member
gonzalu   16-09-2010, 03:52
#4

Thanks guys! :-)

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.