I'm getting the following error:

Class 'ServicesException' not found in [path]/JsonRpcServer.php on line 210.

I think there is a problem in my JSON, but this appears to be a bug in the code itself.

Comments

jaypan’s picture

When commenting out the above line, I get this error:

Fatal error: Call to undefined function services_controller_get() in [path]/jsonrpc_server/JsonRpcServer.php on line 43

voxpelli’s picture

Might it be that 2.x requires a newer version of Services?

jaypan’s picture

I think you are correct. I've actually switched back to version 1.3 of the module because of this error. I actually wanted to use version 2 because the JSON 2.0 format looks better to me than the version 1.0 format, but I don't want to switch to version 3 of services just yet.

To the module maintainer - if it is correct that different versions of this module are dependent on versions of services, it would be nice if you could put a chart on the top page showing the correlation for people, so that someone else doesn't get stuck with the same issue I've had.

Great module though (at least 1.3!). I'm implementing it in an iPhone app I'm developing and it seems to be working very well. Thank you for your time and effort on this.