更新时间:2023-02-24 07:47:16
从示例库中复制Datatables.php代码
( http://www.ahmed-samy.com/demos /sources/tutorial_datatables.zip )
到您的库目录,而不是直接下载它。我认为最新的下载中可能会出现错误。我有完全相同的问题。
Copy the Datatables.php from the libraries of the sample code (http://www.ahmed-samy.com/demos/sources/tutorial_datatables.zip) into your libraries directory instead of downloading it directly. I think there might be a bug in the latest download. I had the exact same issue.