我已经安装谷歌登录我的网站之一(VPS主机 - 阿帕奇)。完全没有问题,几乎和Facebook登录一样...很简单!未捕获的异常“Google_ServiceException”有消息“错误调用get https://www.googleapis.com/oauth2/v2/userinfo:(500)后端错误”
我有另一个网站(共享托管 - 阿帕奇 - 附加域),它没有SSL,所以我不能落实的Facebook登录。从我所看到的情况来看,谷歌现在还没有像ssl那样挑剔。所以我打算做这个非SSL网站的推特和谷歌+登录。至少直到我真的觉得它值得转移到下一个阶段并设置SSL。
所以,我从字面上做完全和以前一样,我已经很明显cchanged相关部件,如插入SQL和重定向和谷歌开发者控制台。但即时通讯这个恼人的问题;
页面只是continuosely从我的网站到谷歌等重定向到浏览器的决定有重定向循环。在我的服务器错误日志中,我有这个;
[16-Sep-2016 11:40:26 America/Chicago] PHP Fatal error: Uncaught exception 'Google_ServiceException' with message 'Error calling GET https://www.googleapis.com/oauth2/v2/userinfo: (500) Backend Error' in [sensoredforSO]/GplusLogin/src/io/Google_REST.php:66
Stack trace:
#0 [sensoredforSO]/GplusLogin/src/io/Google_REST.php(36): Google_REST::decodeHttpResponse(Object(Google_HttpRequest))
#1 [sensoredforSO]/GplusLogin/src/service/Google_ServiceResource.php(177): Google_REST::execute(Object(Google_HttpRequest))
#2 [sensoredforSO]/GplusLogin/src/contrib/Google_Oauth2Service.php(37): Google_ServiceResource->__call('get', Array)
#3 [sensoredforSO]/GplusLogin/index.php(30): Google_UserinfoServiceResource->get()
#4 {main}
thrown in [sensoredforSO]GplusLogin/src/io/Google_REST.php on line 66
谷歌似乎没有任何内容,所以我想编号把它扔给你boffins。
在此先感谢。
你有什么解决办法? –