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

XF 1.5 Hiding Errors on Forum Pages

Discussion in 'XenForo Questions and Support' started by sgr, Sep 13, 2016.

  1. sgr

    sgr Active Member

    After getting some errors like this one:

    Mysqli prepare error: Table './xfdb/xf_liked_content' is marked as crashed and last (automatic?) repair failed
    , I noticed that this was being shown on the forum pages even though I have set this in the config.php:

    $config['debug'] = false;
    Does disabling debug mode hide the errors entirely from being shown on the web pages to the users, or only hides detailed information like the stack trace from the pages? Are there any more options to hide the errors entirely?

  2. Mike

    Mike XenForo Developer Staff Member

    It hides the full error -- users will just see a message indicating a server error has occurred. Admins are exceptions though -- they will always see a detailed error message.
    sgr likes this.

Share This Page