I am developing a large PHP web application in VScode. The error reporting in development mode is switched on (E_ALL and display_errors 1) and my AJAX calls in Javascript always provided clear information about any errors on the PHP side. This happened through the request.responseText varialble of the error function of the AJAX call.
Since a few weeks all of a sudden my PHP error reporting is reduced to just "500 Internal server error" without any reference to a line number or any details about the source of the error.
Does anyone have any idea what could have caused this sudden change?
Below an example of the AJAX calls:
$.ajax({
type: 'post',
url: '../ajax_system.php',
data: {
'system_num': 1.5
},
success: function (response) {
//do whatever you need to do with the response
},
error: function (request, status, error) {
alert('failed in AJAX-call in javascript_filename.js: \n' + request.responseText);
}
});
The 'request.responseText' variable used to give me perfectly detailed feedback, but now it just shows a 500 - Internal server error
I tried reviewing the error reporting settings in PHP, but they are all still configured correctly