ZenphotoCMS Forum
No SQL Splash Page - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: No SQL Splash Page (/thread-7611.html)



No SQL Splash Page - gonzalu - 2010-09-14

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




No SQL Splash Page - acrylian - 2010-09-14

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.




No SQL Splash Page - sbillard - 2010-09-14

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.




No SQL Splash Page - gonzalu - 2010-09-16

Thanks guys! :-)