CouchbaseClusterManager doesn't work
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 php-couchbase-ext 1.2.1.
I've reproduced this with libcouchbase 2.1.3 (OS X and Amazon Linux) and PHP SDK 1.2.0 (OS X) and PHP SDK 1.1.4dp1 (Amazon Linux).
What version of libcouchbase and the PHP extension are you using where you are seeing this behaviour?
No one? It's been a week...