• 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

sgr

Active member
#1
After getting some errors like this one:

Code:
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:

Code:
$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?


Thanks.
 

Mike

XenForo developer
Staff member
#2
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.