Hello,
I’ve s problem using DHTMLX Vault 4.0.0. When I try to upload a file, the console says " Uncaught SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data".
My Vault Constructor:
documentVault = new dhx.Vault(null, { uploader:{ target:"/somedir/upload", autosend: true }, });
When I set autosend to “false“ , the error does not occur until I click the send button. Console output before clicking send:
Console output when using autosend or clicking the send button:
Line 123 is the following line of the constructor:
documentVault = new dhx.Vault(“vault_id”, {
I’m using the following components:
Angular JS version 1.6.9
DHTMLX-Suite version 7.1.2
DHTMLX Vault version 4.0.0
XAMMP Control Panel version 3.2.4
The wwwrun user has correct rights for the upload folder.
The same error occurs when I’m using the DHTMLX Vault samples.
Maybe someone can help me solving this problem?
Best Regards