I am using q2a open login plugin for my q2a site to activate open-login with facebook and google plus. In earlier I worked in " http://myq2asite.com/subdomain/index.php
" as test purpose. And I give this Url as the redirect URL on both facebook application and google project.
But yesterday the pack get inserted into root directory for the site launch. So now site will get on directly " http://myq2asite.com/
" without use of subdomain. So the same time I edited the redirect URL with new URL on both facebook app and google project.
Here the problem begins
facebook redirected into : - > http://myq2asite.com/index.php?provider=Facebook&code=5#
[not working] . So I checked with that code . code=5 means authentication failed
Google plus rediected into :-> http://myq2asite.com/index.php?qa=login&login=googleplus&to=index.php?qa=users
. And also the page showing some fatal error.
The error is :
Notice: Undefined variable: adapter in /home/name/public_html/qa-plugin/q2a-open-login-master/qa-open-login.php on line 120
Fatal error: Call to a member function logout() on a non-object in /home/name/public_html/qa-plugin/q2a-open-login-master/qa-open-login.php on line 120
I didn't get any Idea for these issue. Is there any need to create a new apllication with new URL.??? Or any other solution
Please help me asap.
Thanks in advance