DataTable Server Side - Gives a Jason error
DataTable Server Side - Gives a Jason error
Nabih
Posts: 2Questions: 1Answers: 1
Hi,
I am using the server side datatables for the huge amount of records, what I am facing is:
when records exceeds 15,000, i am getting an error while loading the page, which says:
DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error.
if i reduce the number of records to 15,000- the table works perfectly.
Any suggestions?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Solved it, it was related to memory issue.
used the following in the database connection file:
ini_set('memory_limit', ‘512M’);
and problem was solved