jquery ajax 500 internal server error php

Solutions on MaxInterview for jquery ajax 500 internal server error php by the best coders in the world

showing results for - "jquery ajax 500 internal server error php"
Katrina
29 Aug 2018
1// That mean you have error in server side
2// A 500 error is not a problem with your JS - it s server-side
3// Add this code at the top of your PHP:
4
5ini_set('display_errors', 1); 
6error_reporting(E_ALL);
7
8// That will show you what the problem is in your PHP code. If it s a syntax error (seems quite likely for a code 500)
9
10// Comment all code in your page PHP and make simple sentense " Hello this is my page " and test 
11// if all good then find your error