MyBB Community Forums

Full Version: Help us to help you - SQL errors
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When you get the following message
MyBB Wrote:MyBB SQL Error MyBB has experienced an internal SQL error and cannot continue.

The first thing to do is to get verbose error.
Go to ACP, Configuration » Board Settings » Server and Optimization Options and change the errors log options:
  • Error Logging Medium : Log errors
  • Error Type Medium : Warnings and Errors

This will give you a complete error detals, so we can really help you.
(2021-09-04, 02:26 PM)Crazycat Wrote: [ -> ]When you get the following message
MyBB Wrote:MyBB SQL Error MyBB has experienced an internal SQL error and cannot continue.

The first thing to do is to get verbose error.
Go to ACP, Configuration » Board Settings » Server and Optimization Options and change the errors log options:
  • Error Logging Medium : Log errors
  • Error Type Medium : Warnings and Errors

This will give you a complete error detals, so we can really help you.

SQL Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-20, 20' at line 1 Query: SELECT * FROM mybb_banned ORDER BY dateline DESC LIMIT -20, 20

Hello sir! i followed your instructions and got an error such as this. Would I be right to assume that it is a simple out of date code in the .php file?