The full message in my case is:
Fatal error: Call to undefined function oauth_common_get_user_provider_tokens() in /var/www/web102/html/sites/all/modules/oauth/oauth_common.authorizations.inc on line 17 array(4) { ["type"]=> int(1) ["message"]=> string(67) "Call to undefined function oauth_common_get_user_provider_tokens()" ["file"]=> string(76) "/var/www/web102/html/sites/all/modules/oauth/oauth_common.authorizations.inc" ["line"]=> int(17) } n/a
The problem occurred when I wanted to get the ping.fm module working. I had a similar error (I guess it was absolutely the same), when I wanted to integrate the Post It Everywhere module (http://drupal.org/project/postiteverywhere)....
I also get the error when I navigate to the path http://www.example.com/user/1/oauth .....
I am no drupal developer, so please forgive any silly assumptions.
The problem seems to be, that oauth_common.authorizations.inc does not know the function oauth_common_get_user_provider_tokens() which is AFAIK declared in oauth_common.module .... (Well not too difficult so far, this is what the error message tells more or less) ;-)
The quick and dirty, disgusting, horrible workaround (I am ashamed for myself) ;-) for me was to copy the function and add it to the file oauth_common.authorizations.inc ....
I don't get an error after this anymore.
Maybe there is an include directive missing or something.....(?).
If you need more info, please let me know.
All the best
Chris
Comments
Comment #1
PimpDroid CreditAttribution: PimpDroid commentedAccessing ...../admin/user/permissions#module-quant just lead to another error....:
Fatal error: Call to undefined function oauth_common_authorization_contexts() in /var/www/web102/html/sites/all/modules/oauth_common/oauth_common.module on line 61 array(4) { ["type"]=> int(1) ["message"]=> string(65) "Call to undefined function oauth_common_authorization_contexts()" ["file"]=> string(71) "/var/www/web102/html/sites/all/modules/oauth_common/oauth_common.module" ["line"]=> int(61) } n/a
I will again copy the function as a quick workaround.....
Comment #2
apadernoI am closing this issue, since it's for a Drupal version no longer supported.