When my dataprocessor calls my local server’s update.php, there is a “&=undefined” at the end:
127.0.0.1/pl2test/update.php?tr_ … =undefined
maybe that is causing the following problem (generated by Firebug):
docObj has no properties
doXPath("//data/action", null)dhtmlxcommon.js (line 469)
afterUpdate(Object serverProcessor=update.php obj=Object, null, null, null, Object xmlDoc=XMLHttpRequest async=true
mainObject=Object)dhtmlxdataprocess… (line 326)
check()dhtmlxcommon.js (line 41)
[Break on this error] if(docObj.nodeName.indexOf(“document”)!=-1){
the “&=undefined
" text in url line doesn’t break anything , it may appear if you have empty userdata ( the userdata records related to tree item included in url )
or
tree.setUserData(“db”,”",some_undefined)
>>docObj has no properties
>>doXPath("//data/action", null)dhtmlxcommon.js (line 469)
Such error occurs when your server returns incorrect response on dataProcessor action, you can check response - which may contain some details about server response by firebug, or just enable debug output by
dataProc.enableDebug(true);
Oh yes, of course! Thanks