![]() |
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?? |
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..
|
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 :o
|
In ./includes/db_mysql.php, you can find this:
HTML Code:
echo "<html><head><title>$vboptions[bbtitle] Database Error</title>"; |
Quote:
|
Your welcome :)
|
All times are GMT. The time now is 11:50 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|