If something does not work, there must be some error either on the server side or on the client side. If your server side configuration is correct, you should see all the activities (e.g. SQLs) in the log file even there is no server side errors. If you don’t find the log file or the log file is empty, you have not enabled debug properly.
As explained in above post, there are many problems in your code which would not work unless you have fixed it.Assume there is really no server side errors, then it would mean there was client side (JavaScript) errors, you may use your browser to Debug JavaScript.Again, arbei wrote:
You may > check HTTP response > in your browser.
Press F12 in your browser, use the Network panel to check the HTTP response from the server after the record is added. Post the HTTP response, you should find either server side error or correct HTTP response.