dhtmlx connector & dhtml grid attempt to emulate video fails

Attached is my code deleting the page filing capability. I am able to read data from the mySQL database that I have configured. I get data in column A and colum B but sorting fails, and in filter columns I get #connector_text_filter under column A and B. Also the data fails to send and update on the server.







<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    “http://www.w3.org/TR/html4/loose.dtd”>





    

        

    

        

        

    

        

    

        

    







    















Please try to switch connector’s logs and check what issues occurs while sorting and filtering grid.
$grid->enable_log(“temp.log”,true);


Log file follows:



====================================
Log started, 06/11/2009 08:11:33
====================================



Ready for SQL generation
field =>
 0 =>
  0 => item_nm
  1 => item_nm
 1 =>
  0 => item_cd
  1 => item_cd
id =>
 0 => item_id
 1 => item_id
table =>
 0 => grid50000
 1 => grid50000
count => 100



Exec SQL: SELECT  COUNT(*)  FROM grid50000



Exec SQL: SELECT item_id , item_nm , item_cd FROM grid50000 LIMIT 0,100



Done in 0.0327150821686ms



 


I also get the error below on another sample.



[06-Nov-2009 08:44:29] PHP Fatal error:  Call to a member function enable_log() on a non-object in /home/vmcrad/public_html/xgrid/dhtmlxconnector_php_video_samples/6_savedata/connector.php on line 7
[06-Nov-2009 08:46:29] PHP Fatal error:  Call to a member function enable_log() on a non-object in /home/vmcrad/public_html/xgrid/dhtmlxconnector_php_video_samples/6_savedata/connector.php on line 7


but sorting fails, and in filter columns I get #connector_text_filter under column A and B
Be sure to include connector.js ( part of dhtmlxconnector package )