chok/OAuthBase — Issue #2: PHP OAuth conflict
Author: sglessard
Created: 2011-11-10 22:17:53+00:00
State: open

Hello,

I've enabled PHP OAuth support on my server, for now the only issue is about OAuthException :

Fatal error: Cannot redeclare class OAuthException in /path/to/website/plugins/sfDoctrineOAuthPlugin/lib/base/vendor/oauth/OAuth.php

I had to add a condition in the chok's OAuth class

if (!class_exists('OAuthException'))

http://www.php.net/manual/en/class.oauth.php