This depends on whether you have set the error level and the error mechanism of TP5. If setting errors, please add error_reporting(E_ERROR | E_WARNING | E_PARSE); in admin/common.php
There is an error in the /admin/login/check method in the controller. You can post the PHP code in the controller and the response of the post request. I will take a look at the reason.
Please answer Where is the problem
I have the same problem
Let me go, I also encountered it, where did you type the wrong code? Please share. Is there any problem with the teacher’s code?
This depends on whether you have set the error level and the error mechanism of TP5. If setting errors, please add error_reporting(E_ERROR | E_WARNING | E_PARSE); in admin/common.php
I have the same problem as you, how did you solve it
Check the model to see if there is any error in the Admin model
Is the database database configured?
Data Is the table name called admin
The other issues are the code format and so on
There is an error in the /admin/login/check method in the controller. You can post the PHP code in the controller and the response of the post request. I will take a look at the reason.