You have some php level error, and in same time you have php error output disabled.
You can find the actual error info in web server logs, or you can enable php error output and try to load the connector.php in browser once more, to see details about the problem.
Thank you that was useful!
I looked into the log file an found some path errors for the require-part. Including
require_once(dirname(__FILE__) . "/dhtmlxTree/dhtmlxConnector/phpExcel/PHPExcel.php");
fixed that.
Unfortunately, this was not the only fault. The log file now contains and the tree is still not working:
PHP Fatal error: Uncaught exception ‘Exception’ with message ‘Not implemented’ in /xxx/dhtmlxTree/dhtmlxConnector/codebase/db_common.php:928
Stack trace: #0 /xxx/dhtmlxTree/dhtmlxConnector/codebase/base_connector.php(403): DBDataWrapper->fields_list(’’) #1 /xxx/dhtmlxTree/dhtmlxConnector/codebase/base_connector.php(397): Connector->configure(’’, ‘id’, false, false, false) #2 /xxx/connector.php(11): Connector->render_table(’*’, ‘id’) #3 {main}
thrown in /xxx/dhtmlxTree/dhtmlxConnector/codebase/db_common.php on line 928
For easier comparison (and to be sure that the data format is correct) I use a new excel file now, including the example data from your site:
I have discussed this issue, and it seems that data loading from excel was purposed for plain datasets only. Connector can’t build hierarchical dataset from the excel file.
The users will upload an excel file containing a dataset with the hierarchical information. Its like a list of soccer players and coaches. Each person has a unique id and a field where the id is stored who is the coach. The coaches are on a higher level with all their players beneath.
What would you suggest to implement this tree? Importing to Mysql and reading from there?
So, it will require more coding, but it possible to get the data from excel code and form the data for the grid manually. If you need only to read from excell - it must not be very complicated.