XML error server response

Dear Sir, Madam,



I am trying to get some of your examples to work (01_basic.html for the datagrid), but the dataprocessor debug screen comes up with the following message:



Log:

row 2 marked as updated

Initiating data sending for 2

Server url: 01_basic_connector.php?



gr_id=2

c0=Albania%20

c1=553524

!nativeeditor_status=deleted



server response received <?xml version='1.0' encoding='UTF-8' ?>

Not a XML



(I have truncated the ‘countries’ table in the sampledatabase to just 2 record, for convenience).

I have a feeling it has to do with the server, and not the client and I have put the line header(“Content-type:text/xml”); in the 01_basic_connector.php file. But to no avail.

I am running out of options.

Could you please help me?



kind regards,

Rob Mies

reg. number 261118805

The log output shows that instead of data processing , connector works in “select” mode.
It can be caused by
- missed|not included connector.js
- situation when connector.js included before dataprocessor.js ( this is pretty tricky point, it will be changed in 1.0 release to work without relation to order of includes )

In default samples ( including 01_basic.html ) all necessary files included and order of includes is correct - so if you not modified them - all must work correctly.
Are you using all js files from 2.1 release?


Dear Sir, Madam,



 



thanks for the speedy reply. Connector.js indeed was missing. It was one higher up in the tree. Instead of:  the script read:



But now it works like a charm!



Again, thank you very much. 



 



Kind regards,



Rob Mies