error on server but works well locally with datatables editor generator code

error on server but works well locally with datatables editor generator code

javismilesjavismiles Posts: 205Questions: 38Answers: 3
edited March 2014 in General
HI, im using the excellent https://editor.datatables.net/,
i create the code with the automatic generator and it works perfect locally on my laptop with localhost locally,
but when i upload it to my centos 6 server, using same data and all, it gives this error
DataTables warning: JSON data from server could not be parsed. This is caused by a JSON

but same all works perfect on my laptop
what is wrong?
thank you

Replies

  • allanallan Posts: 63,689Questions: 1Answers: 10,500 Site admin
    I this a duplicate of your other discussion on this topic: http://datatables.net/forums/discussion/20102/how-is-this-possible ? It sounds like you might be running different software on your server and laptop - probably different PHP versions.

    Allan
This discussion has been closed.