Get warning Invalid JSON response in online webhosting but in localhost work perfectly
Get warning Invalid JSON response in online webhosting but in localhost work perfectly
riyan
Posts: 2Questions: 1Answers: 0
Hi there, wanna ask about Invalid JSON warning but only when in online webhosting (http://sisdik-banjarmasin.info/example/), in local work fine, have searching to this forum and most of solution is look at to browser console and debugger (http://debug.datatables.net/imuxax) the problem is i can't see anything in xhr response but the header say sent ok, is there any way to see this response, thank you
This discussion has been closed.
Answers
never mind i already get the solution, for other people have same problem with me please note web server version you use and look at magic_quotes_gpc() and turn it off because if its turn on your JSON will invalid or you can add function for delete all backslahes like this http://php.net/manual/en/function.stripslashes.php,
thanks dataTables for this great plugin. If i wrong to wrote something please ignore because my english is no good.
have i nice coding
riyan