Updating contact hangs

I am not familiar with FastCGI, and I unfortunately cannot comment about what potential issues that this may cause. I have tested the PHP sample pack on both my web server as well as WampServer installed on my own computer, and have been able to successfully edit/update contacts without an issue.

However, we have noticed that depending on your server configuration, the PUT statement may hang and eventually time-out. This is likely due to an issue with your cURL installation and can most likely be resolved by changing the cURL method option used in cc_class.php (line 115) as seen below:

Original line:

curl_setopt($ch, CURLOPT_PUT, 1);

Update to:

curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "PUT");

This has resolved every report of this that we have taken. However, if you are still experiencing problems please let us know and I would be happy to look in to this further.

Re: Updating contact hangs

Are you using the PHP sample forms found here on the developer site? I'd like to know if you can pass any actions successfully through the forms, or if updating the contact is the only action that's not woring for you.

Re: Updating contact hangs

I would recommend updating to version 2 of cc_class.php, which is part of the current version of sample forms, as version 1 likely contains some depracated code which might be contributing to your update issues. We'll be making some additional updates to sample forms this year as well, so look for that in the coming months as well.