XF 1.5 Hiding Errors on Forum Pages


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?



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.
  • Like
Reactions: sgr