Database Connect Error PAGE is so ugly.........

If you are not familiar with this issue than you are very lucky...........The screen shot that is shown is a red warning that looks like the guts of the site...............

 

I am sure I am not the only one that thinks this but there has got to be a MUCH better IDEA on what to display to the public when this occurs? Has anyone already done this?  PLEASE if you have share the code that it will take to show a picture of some type instead of a low rent gut shot..................................

Thank You

 

Csampson
Quote · 24 Oct 2011

inc/classes/BxDolDb.php

Lines 452-454 look like this.

                <div style="border:2px solid red;padding:4px;width:600px;margin:0px auto;">
                    <div style="text-align:center;background-color:red;color:white;font-weight:bold;">Error</div>
                    <div style="text-align:center;"><?=$out?></div>


Change to whatever you want the colors to be.

Basically you can change it to look however you want it to look.

https://www.deanbassett.com
Quote · 24 Oct 2011

Can you tell me how to make it show a picture instead of the other? Can that be done kind of like what twitter did when they reach their capacity................  

Csampson
Quote · 24 Oct 2011

Well. I do not know what that twitter message looks like. But you can do anything you want.

Even something like this.


https://www.deanbassett.com
Quote · 24 Oct 2011

How about something to match the template. Perhaps something similar to blizzards 404 error page.




https://www.deanbassett.com
Quote · 24 Oct 2011

LOLOL!

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 24 Oct 2011

Yes exactly if you can provide me the code I need I will drop a picture in it.......................

 

Those are much better than the UGLY one produced now...................

Csampson
Quote · 24 Oct 2011

Those are just static images. I will have to come up with something different for dolphin that will allow the display of the variable content. So that will have to be positioned on the image. Difficult to do if the database error does not occure all the time to the position can be played with.

I will see what i can come up with.

https://www.deanbassett.com
Quote · 24 Oct 2011

Thank you.............

Csampson
Quote · 24 Oct 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.