Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | SDKs | SDKs

Couchbase::View not available in php module 1.1.0-dp1?

6 replies [Last post]
  • Login or register to post comments
Sat, 05/26/2012 - 05:31
WesleyE
Offline
Joined: 05/26/2012
Groups: None

Hi,

I'm trying to get view to work with my Couchbase 2.0 dev4 install with the php 1.1.0-dp1 module from https://github.com/couchbase/php-ext-couchbase/tree/1.1.0-dp1.

When I try to run the function as the manual suggests, I simply get the error that the function does not exist.
Fatal error: Call to undefined method Couchbase::view() in /var/sites/fuell/htdocs/couchbase.php on line 23

What am I missing here? Or does the manual page on http://www.couchbase.com/develop/php/next talk about stuff that is not yet available?

Top
  • Login or register to post comments
Tue, 05/29/2012 - 16:33
robw00t
Offline
Joined: 05/29/2012
Groups: None

I'm having the same problem with the same versions.

Top
  • Login or register to post comments
Wed, 06/06/2012 - 06:20
atm188
Offline
Joined: 06/06/2012
Groups: None

Ditto here. What's happening?
Furthermore, the SDK downloaded from http://www.couchbase.com/develop/php/next is actually v1.0.3. I got to compile from source.

Top
  • Login or register to post comments
Mon, 06/11/2012 - 06:45
Broncko
Offline
Joined: 06/11/2012
Groups: None

If you compile it from this source, you will have access to views from PHP:
https://github.com/couchbase/php-ext-couchbase

Imho it is a bit confusing, which of the repositories are in frequent use...

Top
  • Login or register to post comments
Fri, 07/20/2012 - 01:54
LittleBuddha87
Offline
Joined: 11/17/2011
Groups: None

i compiled the master and doesn't work. if i fetch the views via. curl GET i get the views. Seems very strange.

Top
  • Login or register to post comments
Fri, 07/20/2012 - 01:57
WesleyE
Offline
Joined: 05/26/2012
Groups: None

I emailed shortly with one of the Couchbase guys yesterday, he's looking in to it with the tech guys. I'll post here if I get an answer.

Top
  • Login or register to post comments
Thu, 08/09/2012 - 14:26
daschl
Offline
Joined: 05/19/2012
Groups: None

I think I need to clarify a bit here.

View support is built in 1.1-dp2. With the tarball to download, only _all_docs works. There is a patch in review for making them fully usable, but you'll have to wait for dp3 on this (or clone and compile from master when it will be pushed).

If you need more information on this, let me know!

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker