Enabling 'Twitter' plugin causes blank pages
![Variable](https://us.v-cdn.net/5018160/uploads/userpics/216/nLTDNXKQPMPHQ.png)
Hi all. So, the title pretty much says everything.. I just moved to a different host (it's a quite reputable one too so I'm guessing it has everything Vanilla requires), but I've tried other forum software such as MyBB, etc on the host, they work fine.
So, the issue has to be with a plugin.. List of plugins: http://i.imgur.com/Oy6hwwl.png
Error log:-
PHP Fatal error: Cannot redeclare class OAuthException in /home//public_html//library/vendors/oauth/OAuth.php on line 0
Whenever I set the 'Twitter' part to 'FALSE', everything works perfectly. I've tried all possible combinations with the OpenID & GoogleSignIn (enabling/disabling).
Would appreciate any possible help.
Thank you.
Best Answer
-
Bleistivt Moderator
This is the patch to apply (will be in 2.2)
https://github.com/vanilla/vanilla/pull/2185/files
Some hosts install a PHP OAuth extension which causes a naming conflict.
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
7
Answers
are you sure you are using vanilla 2.2?
older solutions for vanilla 2.1
see: http://vanillaforums.org/search?adv=&search=Cannot+redeclare+class+OAuthException&title=&author=&cat=all&tags=&discussion_d=1&discussion_question=1&comment_c=1&comment_answer=1&page_p=1&within=1+day&date=
you could check github for 2.2 pull requests and issues.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
This is the patch to apply (will be in 2.2)
https://github.com/vanilla/vanilla/pull/2185/files
Some hosts install a PHP OAuth extension which causes a naming conflict.
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
Yes, I've tried to reinstall the latest version also to make sure everything's in order, but it still didn't work.
And.. that did the trick! Thanks a lot![:) :)](https://open.vanillaforums.com/plugins/emojiextender/emoji/little/smile.png)