Version 4.0.3 php_connector ->filter gives error 500

Hi

I am setting a filter in the php code. With the filter line in place I get an Error 500 internal server error. If I comment out the filter it works ok (but no filtering of course). I’ve tried using both the sql syntax and the field/value syntax with the same result.

Please help

sample code below.

[code]<?php
require_once(“…/config/config.php”);
require_once(“codebase/grid_connector.php”);
$resConnect=mysql_connect($mysql_server,$mysql_user,$mysql_pass);
mysql_select_db(“installManager”);

//$typeID = isset($_GET[‘typeID’]) ? $_GET[‘typeID’] : “-99999”;
$typeID = ‘1’;
$conn = new GridConnector($resConnect);
$conn->enable_log(“installTypeTest.log”);
//$conn->filter(“installTypeID = ‘$typeID’”);
$conn->filter(‘installTypeID’, $typeID);
$conn->render_table(“installTypeTestItem”,“id”,“sequence,description,itemType,installTypeID”);

?>[/code]

Be sure to use the latest version of connector
github.com/dhtmlx/connector-php

If it doesn’t help, please provide log data from the installTypeTest.log