Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by mahesh on Oct 25, 2009 12:17
open dhtmlx forum
dhtmlx grid and mysql data connection fails

I am trying to get the dhtmlx grid up and working.
I have set up a mysql data base, and the config.php file to point to it.

I get: Error type: LoadXML
Description: Incorrect XML

Do I need to run an sql initialization script, or does the database somehowneed to be in XML format?

thanks,
-Mahesh
Answer posted by dhxSupport on Oct 26, 2009 09:29
>>I get: Error type: LoadXML
Please find more information about this error here
http://dhtmlx.com/dhxdocs/doku.php?id=others:troubleshooting_common_errors
http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:common_problems_and_their_troubleshooting
>>Do I need to run an sql initialization script, or does the database somehowneed to be in XML format
dhtmlxGrid is a fully client side component. To load grid correctly you need to configure valid xml on your server side. 
You can try to use dhtmlxConnectors extension which can help you simplify server side operations related dhtmlx components. Please find more information here http://dhtmlx.com/docs/products/dhtmlxConnector/index.shtml
http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxconnector:toc