когда при помощи Jquery ajax пытаюсь отправить больше 5 POST переменных то возникает ошибка Failed to load resource: the server responded with a status of 500 (Internal Server Error)
А когда отправляю 4 переменых то все норм
Это какое то ограничение или проблема в сервере?
$("#trnew_profile_city_0").on('click','#td2profile_send_0', function(event){
event.preventDefault();
var td2profileSend = $('#td2profile_send_0').attr('key');
var td2profileNameVal = $('#td2new_profile_0 input').val();
var td2profilePhoneVal = $('#td2new_profile_phone_0 input').val();
var td2profileCityVal = $('#profile_get_city_0').val();
$.ajax({
type: "POST",
url: '/api/json/my_seting/',
data: {
whom:'my_setting_dop_profile',
name:td2profileNameVal,
phone:td2profilePhoneVal,
city:td2profileCityVal,
key:td2profileSend
},
dataType: "json",
success: function(data) {
//var resultProfile = $('#result_profile');
alert(data);
}
});
});