Hey guys,
i’ve just installed a new couchbase server and just installed c and php sdk’s.
i also have done the same (installation process) before successfully, but now…
i am using nginx on a centos 6 vps. what is causing this error? is c sdk the problem?
#code:
<?php $myCluster = new CouchbaseCluster('couchbase://localhost',user','pass'); $myBucket = $myCluster->openBucket('default'); ?>#Stack trace:
#0 [CouchbaseNative]/CouchbaseBucket.class.php(74): _CouchbaseBucket->__construct(‘couchbase://loc…’, ‘default’, ‘’)
#1 [CouchbaseNative]/CouchbaseCluster.class.php(61): CouchbaseBucket->__construct(‘couchbase://loc…’, ‘default’, ‘’)
#2 /usr/share/nginx/html/cb.php(5): CouchbaseCluster->openBucket(‘default’)
#3 {main} thrown in [CouchbaseNative]/CouchbaseBucket.class.php on line 74