php - Ajax call giving error 500 -
i have 2 folders php on domain. 1 file want send data other via using ajax call. call worked me on localhost, when had website on live server gives 500 error on same ajax call ?
how can solve issue ?
my ajax call following:
var data_to_send = {}; j.ajax({ url : '../orangehrm/symfony/web/index.php/auth/login', type: "post", data : data_to_send, async: false, success: function(data, textstatus, jqxhr) { time_zone = j(data).find('#hdnusertimezoneoffset').val(); }, error: function (jqxhr, textstatus, errorthrown) { } });
a 500 number error server-side exception - went wrong in apache or iis or whatever. determine was, can check error logs on server (event viewer on windows), or turn on "detailed error messages" in web service software remote requests see more information returned browser - browsing locally on server can have same effect.
Comments
Post a Comment