View Full Version : Better looking database error screen
Protoman
06 Oct 2005, 00:35
I thought the database error screen was ugly so I decided to make something more visually appealing (not much!) than the original screen.
Step 1)
Upload the 2 gif's to your includes directory (you can move them wherever you want if you edit the code)
Step 2)
Update the below template so the images are their full URL paths
(ie.. http://site.com/forum/images/blah.gif)
Step 3)
replace the contents of includes/database_error_page.html with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
There you have it! A better looking error message when things go wrong.
You can customize the images, error message, and colors to your liking.
nice one :D I'll be using it :D
monstergamer
06 Oct 2005, 01:07
i like this alot, you broke it!
Andreas
06 Oct 2005, 01:30
IMHO it doesn't make too much sense to use $vboptions[bbtitle] ;)
Protoman
06 Oct 2005, 01:34
:p I just left that in there because it was in my original file. I just wanted to get people thinking by releasing this. You're free to make up your own or whatever :)
dieselpowered
06 Oct 2005, 01:45
HAHAHA I think I may use this...thanks!
HAHAHA I think I may use this...thanks!
PM me what you come up with. I have an idea it will be a doozy. ;)
jesus likes pie
06 Oct 2005, 02:35
ahahaha thanks vBCorolla. It is funnyness!
DS MrSinister
06 Oct 2005, 02:42
lmao nice job. :chinese:
Protoman
06 Oct 2005, 02:49
zip updated. make sure you use the full image paths on your forum or you will have broken images depending where the error is generated.
lol me think i will use it also :P grt hack
AWESOME...Thanks...fits perfectly with my site...lol
COBRAws
06 Oct 2005, 05:36
you broke it hahaha
thanks! i was planning to update it myself and came across this! =D
Hey. Thanks for this!
Installed, and unfortunately working. ;) lol...
/me walks off to fix something.
Love it, using it.
However... a question... your screenshot kinda shows that $vboptions aren't getting through to the end page. If the password was wrong or something daft like that, you wouldn't have $vboptions.
It's probably best to advise people to hardcode their forum info and email into that error page and not rely on something that you might not have... in fact probably won't have... it is an error page afterall ;)
Oh, and I remove $message from mine after accidentally leaking my database password to the web!
Hahah this is hilarious :)
I'll be using this, thanks :)
monstergamer
06 Oct 2005, 19:23
when i think about this, i think this should be HOTM LOL
Neal-UK
08 Oct 2005, 11:27
very good thankyou
OllieRocks
08 Oct 2005, 12:30
V. Good! Thanks :)
*Hopes I wont have to ever see this page :p*
dutchbb
08 Oct 2005, 13:58
http://www.dutchbodybuilding.com/forum/includes/database_error_page.html
It's funny and better looking :)
Ha ha, that's awesome. With this error page, I'll actually want the database to go awry!
Avalon111
13 Oct 2005, 08:06
great! i love it!!!!
Has anyone come up with a good error page they are willing to share? ;)
Kihon Kata
14 Oct 2005, 16:42
nice one :D I'll be using it :D
MakeupTalk Installed!
bobs409
22 Oct 2005, 19:36
Very nice, thanks.
Bob
*clicked installed*
steven s
13 Dec 2005, 18:24
After recieving +100 error messages I thought about changing that page too.
A quick search came across this thread. Can't wait to install it.
I had no idea where that html page was.
Thanks.
futuredood
29 Jun 2006, 18:40
installed but how in the world do you test this?
Protoman
29 Jun 2006, 21:34
turn off mySQL via your console I suppose, that or make a PHP page that causes a mysql error
Rickie3
01 Jul 2006, 02:09
hahahahaha I love it suits me to a T my members call me sex fingers LOL
PoetJA-1975
29 Sep 2006, 00:08
installed but how in the world do you test this?
LOL - I was thinking the same thing - How in the HELL can I possibly test this without breaking something :P
At anyrate - hits install!
Thanx for the sharing!
Jacquii.
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.