In order to support domestic production, I used onethink to build my own website ( Template World: www.templatesy.com ). So far, although I have encountered many difficulties and many bugs, I have finally managed to build it.
During a recent local upload process, the background failed to log in and everything related to the user table became invalid!
I looked for all possible causes of the error, including coding, BOM, etc., but to no avail.
After 2 days of debugging, I finally discovered that in addition to the config.php for database configuration under ApplicationcommonConf, there is also a config.php for database configuration under the ApplicationUserConf directory in the root directory! Changing this to the server's data configuration finally restored the website.
There must be some other considerations that led the onethink team to set up two database configuration files. It is also the reason why I did not read the documentation thoroughly.
Template world: www.templatesy.com
The above introduces the database error caused by onethink's migration site, including the content. I hope it will be helpful to friends who are interested in PHP tutorials.