This topic is locked
[SOLVED]

 How to debug an error 500 in buttonhandler.php

10/24/2018 7:44:50 PM
PHPRunner General questions
N
notuo author

Hi.
I am getting this error: POST XHR https://... /investigadores/buttonhandler.php [HTTP/1.1 500 Internal Server Error 303ms]
I don't know how to find the problem withing the code.
The button only has this in client after event, the rest are empty:

location.href = "menu.php";

return;


Can you advise some pointers to that?
Thanks in advance,
Image:

admin 10/25/2018

Click Response tab on the right.
It is covered in great details in the manual:

https://xlinesoft.com/phprunner/docs/troubleshooting_custom_buttons.htm

N
notuo author 10/25/2018



Click Response tab on the right.
It is covered in great details in the manual:

https://xlinesoft.com/phprunner/docs/troubleshooting_custom_buttons.htm


Thank you Sergei.
In this case, the response tab didn't showed anything, just empty page.
For others, I reviewed the buttonhandler.php file and fount some syntax errors. That was the reason.
Regards