Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Paul Dunn on Apr 09, 2009 09:49
open dhtmlx forum
datagrid error message with IIS

I am testing a trial version of the PRO DHTMLXdatagrid.
I am using the Connector to retrieve data have been getting the following error message:

PHP Notice: Undefined property: GridConnector::$query in C:\Inetpub\wwwroot\assets\dhtmlxGrid\dhtmlxConnector\codebase\base_connector.php on line 106

The error seems to be produced when I call the "render_sql" method of the Datagrid.

Are any PHP modules required such as PDO?


Any help or advice appreciated.

Thanks in advance.
Answer posted by Support on Apr 10, 2009 04:19

Please try to add next command as first line of custom connector file

error_reporting(E_ALL ^ E_NOTICE);

It will instruct to ignore NOTICE level messages, so they will not break output.
( with default settings, component able to control output and prevent any unnecessary messages during data generation, but seems in your case it need to forced directly )


>>Are any PHP modules required such as PDO?
By default it uses "mysql" extensions, which most probably included by default. ( PDO can be supported as well , through additional extension ) 
Answer posted by Paul Dunn on Apr 10, 2009 05:47
Excellent, thanks again for your support.