Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82027

Problem with database connection, host deactivated mysql_pconnect function!

$
0
0
I just installed the latest version of Datatables and the Editor Trial version. I followed this tutorial: http://editor.datatables.net/tutorials/installing
Once everything was done I loaded my site http://myWebSite.com/DataTables-1.9.4/extras/Editor/examples/ and got this popup error:
DataTables warning (table id = 'example'): DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error.
I search the forum and found this thread: http://datatables.net/forums/discussion/10773/editor-examples-json-parsing-error/p1

Where I found this:
So basically your server is returning a 500 error because it can't find the function mysql_pconnect ( http://php.net/manual/en/function.mysql-pconnect.php ). That is the method that is being used to connect to your MySQL database (assuming you have one), but it sounds like your PHP install doesn't have the mysql_* functions compiled in (you can confirm with phpinfo).

I contacted my host and they said that the function mysql_pconnect was indeed deactivated due to some cluster environment issue.

So my question is, is there any other way I can connect to my MySQL database with the Editor. If so, how?

Thanks in advance

Viewing all articles
Browse latest Browse all 82027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>