$cb = new Couchbase($server, "", "", "default");
m I missing someting ?
Did you enable Flushing for default bucket?
I think for the flush you need to be connected as Administrator, so put the username and password (as administrator) and test.
© 2013 COUCHBASE All rights reserved.