DataTables warning: JSON data from server
DataTables warning: JSON data from server
desidoc
Posts: 13Questions: 0Answers: 0
HI
My problem is that on localhost i have no error, but once i put the php pages on my web server fails with this error
DataTables warning (table id = 'dataTable'): DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error.
Has anyone any idea on what's happening
Thanks
My problem is that on localhost i have no error, but once i put the php pages on my web server fails with this error
DataTables warning (table id = 'dataTable'): DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error.
Has anyone any idea on what's happening
Thanks
This discussion has been closed.
Replies
Please link to a debug trace or test case as noted in the forum rules if we are to be able to offer any help - although it would likely just be pointing out what the invalid JSON data is. Look at the XHR return in your browser to see what it is.
Allan
thanks for your comment, i have to tell you that after seeing how to use firebug i solved my problem, it was a variable not declared :S
Thanks so much
Allan