我已經安裝谷歌登錄我的網站之一(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。
在此先感謝。
你有什麼解決辦法? –