If you've set a log path in the Control Panel (CP -> Master Settings -> Primary -> Logging -> Database Error Logging) then it'll be in the log file; if not then you can change the following line (~Line 296, depending on version):

In /libs/mysqli.inc.php find:
Code
$showerror = 0;

Replace With:
Code
$showerror = 1;

I would highly advise not leaving this option on as it could potentially show private information about your install. I would also highly advise setting the Database Error Logging path if it has not already been enabled.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!