0
我使用LightOpenID在我的PHP Web應用程序中啓用Google身份驗證。在Localhost中測試LightOpenID
但是當我測試同樣在我的本地服務器,我得到以下錯誤
(!) Fatal error: Uncaught exception 'ErrorException' with message 'You must have either https wrappers or curl enabled.' in C:\wamp\www\speakerdb\openid.php on line 94
(!) ErrorException: You must have either https wrappers or curl enabled. in C:\wamp\www\speakerdb\openid.php on line 94
Call Stack
# Time Memory Function Location
1 0.0006 366848 {main}() ..\index.php:0
2 0.0034 648640 LightOpenID->__construct() ..\index.php:4
這運行正常在我的遠程服務器。 我將在我的應用程序的每個頁面中使用LightOpenID來檢查用戶是否已登錄。我嘗試給「localhost」作爲域名,但得到相同的錯誤。
我啓用了curl un my wamp服務器,但是當啓用curl時,具有LightOpenID的頁面不運行。
只要我在PHP中啓用SSL,頁面就停止加載。在Apache中啓用ssl不會造成任何傷害。 – SoulMan
最後使用上面的方法和重啓機器擺脫了錯誤。仍然問題仍然是LightOpenID不以域名身份返回用戶信息Localhost – SoulMan
是否有可能是您的程序引起LightOpenID問題的邏輯問題?並且要清楚,問題中的原始「致命錯誤」消失了,對嗎? – xmc