DataTables warning: JSON data from server could not be parsed.
DataTables warning: JSON data from server could not be parsed.
Greetings,
I have signed up for the 15 day editor evaluation today. I wanted to try the Generator so I created a 3 column table from http://editor.datatables.net/generator/ and then downloaded and unpacked the DataTablesEditor.zip file.
My table name is "criteria". I then edited the php/lib/config.php for my MySQL settings (I am hosting on 1&1).
When I go to the criteria.html page, I get this error message as soon as the page finishes loading:
[quote]DataTables warning (table id = 'criteria'): DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error.[/quote]
I inserted a row into the table by hand and still get the same error message. How can I troubleshoot this problem?
Thanks,
-John
I have signed up for the 15 day editor evaluation today. I wanted to try the Generator so I created a 3 column table from http://editor.datatables.net/generator/ and then downloaded and unpacked the DataTablesEditor.zip file.
My table name is "criteria". I then edited the php/lib/config.php for my MySQL settings (I am hosting on 1&1).
When I go to the criteria.html page, I get this error message as soon as the page finishes loading:
[quote]DataTables warning (table id = 'criteria'): DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error.[/quote]
I inserted a row into the table by hand and still get the same error message. How can I troubleshoot this problem?
Thanks,
-John
This discussion has been closed.
Replies
Allan
What is the best way to go about determining what the server returns?
How can I tell if the mysql connectivity is working or not? Is there a easy way to test this?
Thanks,
-John
Allan
[quote]
dbo461975059
Warning: require(/homepages/16/d397438455/htdocs/facelift/jq/test/php/lib/Editor/Editor.php): failed to open stream: No such file or directory in /homepages/16/d397438455/htdocs/facelift/jq/test/php/lib/bootstrap.php on line 40
Fatal error: require(): Failed opening required '/homepages/16/d397438455/htdocs/facelift/jq/test/php/lib/Editor/Editor.php' (include_path='.:/usr/lib/php6') in /homepages/16/d397438455/htdocs/facelift/jq/test/php/lib/bootstrap.php on line 40
[/quote]
Looks like a path issue.
Allan