the front-end page jquery sends data to the background, and the background returns the data. The console reports 500. You can actually see that some data has been returned in response.
Front end code:
:
:
URL
:
solve.
the front-end page jquery sends data to the background, and the background returns the data. The console reports 500. You can actually see that some data has been returned in response.
Front end code:
:
:
URL
:
solve.
take a look at the status code
can't you see the server error?
permission denied
has no operation permission, and the log is written clearly
the problem is solved by setting app_debug in the application/config/app.php configuration file (tp5.1) to false,.