Categories | Question details Back To List | ||
doXPath() problem + possible serverProcessor-URL-problem When my dataprocessor calls my local server's update.php, there is a "&=undefined" at the end: http://127.0.0.1/pl2test/update.php?tr_id=db&tr_pid=horror&tr_order=2&tr_text=Dan%20Brown&=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){ Answer posted by Support on Jan 09, 2008 04:21 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 ) <item><userdata /> 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); Answer posted on Jan 09, 2008 08:31 Oh yes, of course! Thanks |