1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lack of Interest Custom Error Pages (DB Error, etc.)

Discussion in 'Closed Suggestions' started by Alteran Ancient, Jan 30, 2012.

  1. Alteran Ancient

    Alteran Ancient Well-Known Member

    Only a fairly trivial thing, but I feel that thrusting a very generic and unhelpful database error at my visitors whenever the SQL Server is over-capacity or offline is rather confusing to the visitors. At present, they see a white page with nothing but:
    I know exactly what this means, but my users can only think: "Huh? Isn't a website supposed to be here?"

    Instead, I opted to break into library/Error.php, and replaced the default message with basic HTML which is the same as this sample rendering of the new error page:

    http://resources.ukofequestria.co.uk/db-error.html

    People see an identity of the website, why they are unable to access it, and the steps they should take to try and resolve the problem (wait 5 minutes or email an admin.)

    Wouldn't you say this is far more helpful? Now, this wasn't hard for me to implement, but it would have been great if we could enable this kind of modification with a simple tweak in a dedicated Template file or by defining a config variable in the config.php file.

    I know this is only small and doesn't really offer any more day-to-day user features to XenForo, but I can't imagine this would be especially difficult to implement from a programming perspective.
     
    akia and kankan like this.

Share This Page