Data communication error

Im trying to figure out how SOAP and phonebook works, but unfortunately Im getting stuck right in the beginning…

I enabled SOAP extension for PHP. Phonebook demo is loading fine, I can log in and browse saved contacts. The thing is I cant insert/edit/delete - when I choose a saved contact, modify data and click to save, Ill get following error:

Data communication error





HTTP request error

Can you point me to some direction? What possibly could go wrong? Is it a SOAP error? Or SQLlite error? (I made DB file writable…)

TIA,

J.

It could be PHP error. If you are running on Linux, please check if the data directory and the sqlite data file are writable.

Thank you. That was the cause… I have set file to be writable, but Ive forgot about directory.

If you are using mysql, can edit/delete but can't add, then fix the schema:

CREATE TABLE Contact

(

id INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,


name VARCHAR(128) NOT NULL,


phone VARCHAR(64) NOT NULL

);

without AUTO_INCREMENT it doesn't add for me