[Discuz] The website prompts Oops! Systemfilelost: class/class_mysqli.php unable to access the forum or enter a wrong password. multiple attempts are prohibited.

Source: Internet
Author: User

[Discuz] The website prompts Oops! Systemfilelost: class/class_mysqli.php unable to access the forum or enter a wrong password. multiple attempts are prohibited.

1. An Oops prompt is displayed when you open the website! System file lost: class/class_mysqli.php cannot access the Forum

Open the Discuz project and Oops appears! System file lost: class/class_mysqli.php cannot access the Forum. For example, there are many causes, such as upgrade failure and migration.

Except that the Mysql database is not connected successfully, you can directly modify the code.

Open source \ class \ class_core.php and find the throw new Exception ('oops! System file lost: '. $ filename);, change it to return false;

Refresh and enter the Forum normally.

2. Failed Attempts due to incorrect passwords

During Discuz debugging, if a user's password or root password is forgotten for multiple attempts, it will take 15 minutes to try again after five attempts.

You can delete the error attempt record in the Discuz database to continue the attempt:

For the password of the forum and Management Panel, change the count field in the pre_common_admincp_session table from 5 to 0.

For the ucenter user management center password, convert the count field in pre_ucenter_failedlogins from 5 to 0

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.