What happens when the server reports a 500 error?
whxn
whxn 2019-12-17 11:03:52
0
9
4008

6HTTP500: Server Error - The server encountered an unexpected condition that prevented it from completing the request.
(XHR)POST - http://www.tp5.com/addmin/account/dologin.html

whxn
whxn

reply all(4)
想无

HTTP500: Generally caused by server script errors (syntax errors, sql errors, etc.), you can use the debug function of the programming language itself to capture this exception, such as php, you can turn on error_reporting, or use it in the executing program Try catche to capture or use register_shutdown_function error_get_last to capture. I use Xiaoniao Cloud Server, and the performance is pretty good.

cloudmam

The recommended server security protection software is Cloud Helper (https://www.cloudx.cn/?utm_source=wu-p), which includes system protection, network connection management and control, port protection and IP black and white lists. With this function, the protection of the server will be more comprehensive. At the same time, it can perform 24-hour uninterrupted basic monitoring of the server from the four aspects of CPU, memory, disk, and network, and can independently set alarm rules to generate alarms immediately when the status is abnormal, helping users quickly locate and solve problems, free of charge You can download it directly from the official website and use it. I hope it can help you!

Belief

This is also the case for me, and I haven’t found the reason yet

Can you see your error details?

  • reply Please check if there is any problem with the data received by your background php or if there is any error in your ajax submission. You can not write according to the teacher's writing method. The 500 error reported is an error when the back-end code accepts the data and returns it.
    whxn author 2019-12-23 17:51:46
  • reply I'm a newbie, and I don't know how to do it any other way.
    Belief author 2019-12-24 10:33:51
  • reply I just want to learn more,
    Belief author 2019-12-24 10:34:41
ringa_lee

Check in the network, there are specific reasons for errors

  • reply Found it. The backend program was written incorrectly. Thank you.
    whxn author 2019-12-21 19:59:35
  • reply Can you send me the specific solution code?
    Alone author 2020-01-19 19:00:44
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!