Categories | Question details Back To List | ||
vault error Hi dhtml Team, i have a problem with the vaultobject. The vault object is created and displayed, but when i click on upload came the messag "error" what am I doing wrong? -The paths I've already checked -The DHTML Vault sample also wont work code: var vault = null; vault = new dhtmlXVaultObject(); vault.setImagePath("dhtmlx/dhtmlxvault/codebase/imgs/"); vault.setServerHandlers("php/UploadHandler.php", "php/GetInfoHandler.php", "php/GetIdHandler.php"); vault.create("vaultDiv"); var test = document.getElementById("vaultDiv"); dhxLayout.cells("c").attachObject(test); Thanks for your help Ersin Answer posted by Support on Oct 08, 2009 06:53 Hi, Where your scripts like “UploadHandler.php” reside? I believe under some folder, so you should provide a path to this folder, something like dhtmlx/dhtmlxvault/php/UploadHandler.php or
whatever is relevant for you. Answer posted by Ersin on Oct 08, 2009 11:03 I changed the path but nothing happend... Thanks in advance Ersin Answer posted by Ersin on Oct 08, 2009 11:27 it works :-) but only when i edit the path to dhtmlx/dhtmlxvault/handlers/php_simple/UploadHandler.php and befor i have this path dhtmlx/dhtmlxvault/handlers/php/UploadHandler.php |