Hi,

I don't understand this problem, but :

If I try to get node (node.get) with a "body" string with a lot of characters (not a lot, just two or three lines) the service doesn't return to me anything. If I have only one line of characters all is ok, but when the string start to be long, service doesn't work.
I have tried with other fields and the problem is the same... A cck field with a lot of characters crash the return...

I use the nl.dpdk.services.gephyr.DrupalService to get data.

Comments

titouille’s picture

Just to clear the problem :

It's due to the C amf extension loaded with PHP. If the extension is loaded long string doesn't be retrieved by the service.

To disable the C extension, I tried to set $gateway->disableNativeExtension(); in the services/servers/amfphp/amfphp/gateway.php file, but don't work as expected (the http://mysite.com/services/amfphp tell me C extension was installed AND enabled after this modification in gateway.php).

To correctly disable the C extension, I edited the /services/servers/amfphp/overrides/AmfphpGateway.php and add $this->disableNativeExtension(); at the end of the constructor.

Hope this help