The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom Database Error Page?
Not that I want to have database errors. Its just they do happen. and instead of the white page with contact your webmaster stuff. i would like to have a error page that resembles my layout with more options . it can be completley HTML as it makes sense theres no SQL Database to see.
Is this possible. Oh and IF not where is that white page located in Vbulletin?? |
#2
|
|||
|
|||
It is located in the $db class... You cannot use templates since templates are in your database, and the database fails to work. However, you can edit that class and input any custom HTML you want..
|
#3
|
|||
|
|||
Ya I figured I can't do anything database related. Thanks for the tip. now I need to understand what you mean by $db class
|
#4
|
|||
|
|||
In ./includes/db_mysql.php, you can find this:
HTML Code:
echo "<html><head><title>$vboptions[bbtitle] Database Error</title>"; echo "<style type=\"text/css\"><!--.error { font: 11px tahoma, verdana, arial, sans-serif; }--></style></head>\r\n"; echo "<body></table></td></tr></table></form>\r\n"; echo "<blockquote><p class=\"error\"> </p><p class=\"error\"><b>There seems to have been a slight problem with the $vboptions[bbtitle] database.</b><br />\r\n"; echo "Please try again by pressing the <a href=\"javascript:window.location=window.location;\">refresh</a> button in your browser.</p>"; echo "<p class=\"error\">An E-Mail has been dispatched to our <a href=\"mailto:$technicalemail\">Technical Staff</a>, who you can also contact if the problem persists.</p>"; echo "<p class=\"error\">We apologise for any inconvenience.</p>"; |
#5
|
|||
|
|||
Quote:
|
#6
|
|||
|
|||
Your welcome
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|