Auch die SVN-Version läuft grundsätzlich bis auf den den Editor.
Ich weiß dass er noch in der Entwicklung ist würde aber trotzdem gern den Fehler finden. Die Grundfunktionen gehen, aber das Speichern nicht.
Hier erhalte ich:
configuration could not be saved, server responsed with
'parerserror' / 'SyntaxError: Unexpected token '
'parerserror' / 'SyntaxError: Unexpected token '
Code:
Request URL:http://192.168.2.35/visu_svn/editor/bin/save_config.php
Request Method:POST
Status Code:200 OK
Request Headersview source
Accept:application/json, text/javascript, */*; q=0.01
Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
Accept-Encoding:gzip,deflate,sdch
Accept-Language:de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4
Connection:keep-alive
Content-Length:9750
Content-Type:application/x-www-form-urlencoded; charset=UTF-8
Cookie:editor_complex=true
Host:192.168.2.35
Origin:http://192.168.2.35
Referer:http://192.168.2.35/visu_svn/editor/editor.html?config=
User-Agent:Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.152 Safari/537.22
X-Requested-With:XMLHttpRequest
Form Dataview sourceview URL encoded
config:visu_config.xml
data:[{"nodeName":"pages","attributes":{"design":"metal","lib_version":"1","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xsi:noNamespaceSchemaLocation":"./visu_config.xsd"},"children":[{"nodeName":"meta","attributes":{},"children":[{"nodeName":"plugins","attributes":{},"children":[{"nodeName":"plugin","attributes":{"name":"colorchooser"},"nodeValue":"","children":[]},{"nodeName":"plugin","attributes":{"name":"diagram"},"nodeValue":"","children":[]},{"nodeName":"plugin","attributes":{"name":"upnpcontroller"},"nodeValue":"","children":[]}]},{"nodeName":"mappings","attributes":{},"children":[{"nodeName":"mapping","attributes":{"name":"Close_Open"},"children":[{"nodeName":"entry","attributes":{"value":"0"},"children":[{"nodeName":"#text","attributes":{},"nodeValue":"zu","children":[]}]},{"nodeName":"entry","attributes":{"value":"1"},"children":[{"nodeName":"#text","attributes":{},"nodeValue":"offen","children":[]}]}]},{"nodeName":"mapping","attributes":{"name":"Open_Close"},"children":[{"nodeName":"entry","attributes":{"value":"0"},"children":[{"nodeName":"#text","attributes":{},"nodeValue":"offen","children":[]}]},{"nodeName":"entry","attributes":{"value":"1"},"children":[{"nodeName":"#text","attributes":{},"nodeValue":"zu","children":[]}]}]},{"nodeName":"mapping","attributes":{"name":"Off_On"},"children":[{"nodeName":"entry","attributes":{"value":"0"},"children":[{"nodeName":"#text","attributes":{},"nodeValue":"Aus","children":[]}]},{"nodeName":"entry","attributes":{"value":"1"},"children":[{"nodeName":"#text","attributes":{},"nodeValue":"An","children":[]}]}]},{"nodeName":"mapping","attributes":{"name":"On_Off"},"children":[{"nodeName":"entry","attributes":{"value":"0"},"children":[{"nodeName":"#text","attributes":{},"nodeValue":"An","children":[]}]},{"nodeName":"entry","attributes":{"value":"1"},"children":[{"nodeName":"#text","attributes":{},"nodeValue":"Aus","children":[]}]}]},{"nodeName":"mapping","attributes":{"name":"KonnexHVAC"},"children":[{"nodeName":"entry","attributes":{"value":"auto"},"children":[{"nodeName":"#text","attributes":{},"nodeValue":"Auto","children":[]}]},{"nodeName":"entry","attributes":{"value":"comfort"},"children":[{"nodeName":"#text","attributes":{},"nodeValue":"Komfort","children":[]}]},{"nodeName":"entry","attributes":{"value":"standby"},"children":[{"nodeName":"#text","attributes":{},"nodeValue":"Stand By","children":[]}]},{"nodeName":"entry","attributes":{"value":"economy"},"children":[{"nodeName":"#text","attributes":{},"nodeValue":"Economy","children":[]}]},{"nodeName":"entry","attributes":{"value":"building_protection"},"children":[{"nodeName":"#text","attributes":{},"nodeValue":"Haus-Schutz","children":[]}]}]}]},{"nodeName":"stylings","attributes":{},"children":[{"nodeName":"styling","attributes":{"name":"Red_Green"},"children":[{"nodeName":"entry","attributes":{"value":"0"},"children":[{"nodeName":"#text","attributes":{},"nodeValue":"red","children":[]}]},{"nodeName":"entry","attributes":{"value":"1"},"children":[{"nodeName":"#text","attributes":{},"nodeValue":"green","children":[]}]}]},{"nodeName":"styling","attributes":{"name":"Green_Red"},"children":[{"nodeName":"entry","attributes":{"value":"0"},"children":[{"nodeName":"#text","attributes":{},"nodeValue":"green","children":[]}]},{"nodeName":"entry","attributes":{"value":"1"},"children":[{"nodeName":"#text","attributes":{},"nodeValue":"red","children":[]}]}]},{"nodeName":"styling","attributes":{"name":"Blue_Green_Red"},"children":[{"nodeName":"entry","attributes":{"range_min":"-100","range_max":"20"},"children":[{"nodeName":"#text","attributes":{},"nodeValue":"blue","children":[]}]},{"nodeName":"entry","attributes":{"range_min":"20","range_max":"22"},"children":[{"nodeName":"#text","attributes":{},"nodeValue":"green","children":[]}]},{"nodeName":"entry","attributes":{"range_min":"22","range_max":"100"},"children":[{"nodeName":"#text","attributes":{},"nodeValue":"red","children":[]}]}]}]},{"nodeName":"statusbar","attributes":{},"children":[{"nodeName":"status","attributes":{"type":"html"},"nodeValue":"<img src=\"icon/comet_64_ff8000.png\" alt=\"CometVisu\" /> by <a href=\"http://www.cometvisu.org/\">CometVisu.org</a>\n - <a href=\".?forceReload=true\">Reload</a>","children":[]},{"nodeName":"status","attributes":{"type":"html","condition":"!edit","hrefextend":"config"},"nodeValue":"- <a href=\"editor/\">Edit</a>","children":[]},{"nodeName":"status","attributes":{"type":"html","condition":"edit","hrefextend":"config"},"nodeValue":"- <a href=\".\">normal Mode</a>","children":[]},{"nodeName":"status","attributes":{"type":"html"},"nodeValue":"- <a href=\"?config=demo\">Widget Demo</a>","children":[]},{"nodeName":"status","attributes":{"type":"html","hrefextend":"config"},"nodeValue":"- <a href=\"check_config.php\">Check Config</a>","children":[]}]}]},{"nodeName":"page","attributes":{"name":"Start"},"children":[{"nodeName":"line","attributes":{},"nodeValue":"","children":[]},{"nodeName":"text","attributes":{"align":"center"},"children":[{"nodeName":"label","attributes":{},"children":[{"nodeName":"#text","attributes":{},"nodeValue":"Welcome to the CometVisu!","children":[]}]}]},{"nodeName":"line","attributes":{},"nodeValue":"","children":[]},{"nodeName":"diagram","attributes":{"legend":"popup","series":"day","refresh":"300","popup":"true","previewlabels":"false"},"children":[{"nodeName":"label","attributes":{},"children":[{"nodeName":"#text","attributes":{},"nodeValue":"knxd Memory","children":[]}]},{"nodeName":"axis","attributes":{"unit":"MBs"},"nodeValue":"","children":[]},{"nodeName":"rrd","attributes":{},"nodeValue":"knxd_mem","children":[]}]}]}]}]
Response Headersview source
Content-type:application/json
Date:Mon, 10 Mar 2013 22:49:46 GMT
Server:lighttpd/1.4.31
Transfer-Encoding:chunked
X-Powered-By:PHP/5.4.4-14
Code:
- Syntax error, malformed JSON{"success":false,"message":"configuration-data could not be decoded"}
EDIT: Kann das an fehlenden Cookies liegen? Im WireGate werden zumindest cookies verwendet sagt mir Chrome.
Gruß

