- Couchbase Server : Version: 2.5.1 enterprise edition (build-1083)
- PHP SDK : version 1.2.0 (installed using sudo pecl install couchbase - Actually installs 1.2.2 but don't know why phpinfo() reports the version as 1.2.0)
- libcouchbase version 2.4.0
Getting this error in PHP SDK.
Trying to get results of a view without any additional parameters being sent.
This happens frequently. Actually if you keep on reloading the same php page, it works.
But if I leave it for sometime, switch to another appllication, and then reload the same page, it happens again. unless you hit reload once more.
This is nerve wracking and very sad setback for something so simple and basic.
As per different forum message and replies, I have already done the following :
Changed the connection to not use the port number.
Changed the username from blank to bucketname
changes the host name to 127.0.0.1 and also localhost and tried with both.
The issue remains the same.
Leave it for sometime, and the query to the view gives the above error. Reloading the page, works, but again leave it for sometime, the issue remain same.
I also did the following thinking it could be timing out or something., the issue remains the same irrespective of any of these settings.
ini_set(âcouchbase.view_timeoutâ, 2000);
ini_set(âcouchbase.skip_config_errors_on_connectâ, true);
Any insights on what could be causing this and whether the PHP SDK can be used at all for any real production work ?
Starting on a project and decided to give couchbase a try, so any quick reply will be helpful