500 Error on Connector Page (IIS)


I have the following code on my connector page.

require_once("../codebase/connector/grid_connector.php"); require_once("../codebase/connector/db_mysqli.php"); $res = new mysqli("localhost","USER","PASSWORD","DBNAME");//connects to server with db $conn = new GridConnector($res,"MySQLi");//initializes the connector object $conn->enable_log('log.txt'); $conn->render_table("TableName","ID","ID,Emp,Tool,Qty,ToolCode,Notes,Date,Signature");

Whenever this page is called it returns a 500 Error.
No matter what I do I cannot get this to run as expected.

I am running PHP version 7.0.15
on IIS 8.5
On Windows Server 2012 R2

I have mysql installed locally on the machine.

Running the same code on a linux box shows this error in the browser inspector:

[01-May-2017 15:19:13 Australia/Sydney] PHP Fatal error:  Class 'MySQLDBDataWrapper' not found in /home/ccccp041/public_html/websites/ToolRegister/codebase/connector/db_mysqli.php on line 8

Please help.

Please, make sure that you’ve copied all the php files of the dhtmlxConnector package (from the “codebase” directory) to your application folder.

The problem is confirmed. We’re working on a solution.
As a workaround please also try to include the db_mysql.php on your connector page:

I have added the above code and am still getting the 500 error. I am using the latest version of connect from the GitHub