Please help - Error type: LoadXML - newbee

I’m trying to create a tree based on Mysql.

Here’s my files :

------- connector.php-------
$res=mysql_connect($hostname_mybd, $username_mybd, $password_mybd);
$treeConn = new TreeConnector($res);


  <meta http-equiv="Content-Type" content="text/xml; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="dhtmlxTree/dhtmlxTree/codebase/dhtmlxtree.css"/>
    <script src="dhtmlxTree/dhtmlxTree/codebase/dhtmlxcommon.js"></script>
    <script src="dhtmlxTree/dhtmlxTree/codebase/dhtmlxtree.js"></script>  
	<script src="dhtmlxTree/dhtmlxConnector/tree_connector.php"></script>  
	<script src="dhtmlxTree/dhtmlxDataProcessor/dataprocessor.php"></script>  

I didn’t change it except for : require_once(“…/…/Connections/mybd.php”);
Do I have to change something else in it ?

When i load test2.php, these messages :
“Error type: LoadXML
Description: Incorrect XML”
“Error type: DataStructure
Description: XML refers to not existing parent”

Precisions :

  • i run it on a webserver
  • In Firebug I have this message : Fatal error: Class ‘DataItem’ not found in /(…)/dhtmlxTree/dhtmlxConnector/tree_connector.php on line 16

Can you help me to understand these errors ?
Thank you.


tree_connector.php library requires some other libs from connector package. Make sure that all files from connector/codebase are included.

Thanks for your help, it works fine !