Closed (works as designed)
Project:
HybridAuth Social Login
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
27 Jan 2012 at 16:18 UTC
Updated:
22 Jan 2013 at 19:04 UTC
I have OAuth and Libraries modules enabled for some other dependencies and get this error + WSOD on page load after enabling Hybridauth:
Cannot redeclare class OAuthException in /my/path/sites/all/libraries/hybridauth/Hybrid/thirdparty/OAuth/OAuth.php on line 11
Can this module check, like some other modules do, for OAuth libraries, and if already installed use those?
Comments
Comment #1
vishun commentedIn this instance it is the Hybridauth framework itself that is underneath the Hybridauth module that is working with OAuth and defining this class which means the available options are limited. Integration may be possible but seeing as the Hybridauth framework is developed as a standalone, it may require special patches to the framework to be made and maintained in unison with the drupal module.
Comment #2
rwohlebI'll have to take a deeper look into this. The maintainer of the HybridAuth library has been really responsive to my patches. This might be something we can deal with upstream.
Out of curiosity, what are you using the oauth module for?
Comment #3
azin commentedTwitter Actions
Comment #4
duozerskazin,
As we have just agreed with Robert (rwohleb) the 7.x-1.x branch is deprecated, please use the 7.x-2.x branch.
Anyway, there is no way to fix this from the Drupal side - it should be fixed on the HybridAuth library side, please post it to their issue tracker (or search there to see some similar issues).
Thanks
AndyB