Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
424 views
in Technique[技术] by (71.8m points)

How to determine the cause for "MyBB has experienced an internal SQL error and cannot continue"

I am making a forum using MyBB and when I got to install this plugin https://community.mybb.com/mods.php?action=view&pid=1381

I get an error pop up saying

MyBB SQL Error
MyBB has experienced an internal SQL error and cannot continue.

If you're a visitor of this website, please wait a few minutes and try again. If this problem persists, please contact the site owner.

If you are the site owner, please check the MyBB Documentation for help resolving common issues, or get technical help on the MyBB Community Forums.

I have tried to install other plugins and on most of them I get the same error, I have also restarted my host, refreshed the site, tried again and nothing is happening.

question from:https://stackoverflow.com/questions/65841447/how-to-determine-the-cause-for-mybb-has-experienced-an-internal-sql-error-and-c

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

You will need to see the specific error first. MyBB otherwise hides them, as you are seeing above.

To enable error displaying/logging:

Go to ACP -> Configuration -> Server & Optimization settings -> Error logging/Error_logging_medium, and enable error logging/displaying.

If this issue has occurred repeatedly with multiple plugins, it is likely an issue with incompatibilities with your MySQL configuration. Check to see if Strict Mode is enabled via your host. Although MyBB's core is well-designed for Strict Mode, many plugin developers have not developed their plugins equivalently. As a result, issues like this are very common if Strict Mode is enabled on a typical MyBB installation.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

57.0k users

...