I enabled the module and got this message:

Notice: Use of undefined constant OAUTH_COMMON_TOKEN_TYPE_REQUEST - assumed 'OAUTH_COMMON_TOKEN_TYPE_REQUEST' in DrupalDatabaseCache->prepareItem() (line 447 of /home/placemea/public_html/includes/cache.inc).

No idea what to do. Anyone have any ideas here? Thanks

CommentFileSizeAuthor
#3 1757380-3.patch400 bytesNick_vh
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

goodspeed666’s picture

I got the same problem, too.
7.x-3.0+18-dev

Nick_vh’s picture

class DrupalOAuthToken extends OAuthToken {
  public $tid = 0;
  public $expires = 0;
  //public $type = OAUTH_COMMON_TOKEN_TYPE_REQUEST;
  public $type = 0;
  public $uid = 0;

This fixes it for me, but by no means a good solution I think

Nick_vh’s picture

Status: Active » Needs review
FileSize
400 bytes
tobiasb’s picture

In Flickr the fix is here #1515450: Use of undefined constant OAUTH_COMMON_TOKEN_TYPE_REQUEST in cache.inc. But I dont have any idea, where the bug is in services client.

EDIT: Added a issue #1976516: Notice: Use of undefined constant OAUTH_COMMON_TOKEN_TYPE_REQUEST