Problem getting results from view
I finally managed to get php-ext dp2 to work and was able to do the basic set and get functions. From the administrator console, I created and published a view to production and was able to get the desired results from the browser. However, when I tried to get the results via $cb->view("design_doc","view_name") in php, I keep getting the following error:
Warning: Couchbase::view(): Failed to execute view: Protocol error in ....
There was no problem in getting results from the built-in view $cb->view("_all_docs", ""). Not sure what I'm doing wrong here. Anyone can help?