I’m trying to use the CouchbaseClusterManager to perform certain actions on buckets, but I don’t get passed the instantiation. Whatever I try next, fails.
Here’s an example:
$cbm = new CouchbaseClusterManager(“127.0.0.1”, “username”, “password”);
print_r($cbm);
$info = $cbm->getInfo();
print_r($info);
The getInfo() call fails with:
[Sat Nov 23 12:23:18 2013] [error] [client 127.0.0.1] PHP Fatal error: Failed to get cluster information: Invalid arguments in /path/to/file.php on line 41
I have the same problem. I have Couchbase Server Community 2.1.1, and when I do phpinfo() I see in the “couchbase” section, version=1.2.0 and libcouchbase version=2.2.0. Are the installed version not compatible? @michael did you got an answer yet or did you figure it out yourself?