Closed emulsion-io closed 11 years ago
It's a new installation or an upgrade from previous version of HybridIgniter?
It's failing only with Facebook or with all of providers?
It's a new installation of HybridIgniter.
With all of providers.
Have you read the https://github.com/andacata/HybridIgniter/issues/1 issue?
If i try : /hauth/login/Facebook
DEBUG - 2012-12-18 19:00:19 --> controllers.HAuth.login(OpenID) called
DEBUG - 2012-12-18 19:00:19 --> controllers.HAuth.login: loading HybridAuthLib
DEBUG - 2012-12-18 19:00:19 --> Helper loaded: url_helper
DEBUG - 2012-12-18 19:00:19 --> HybridAuthLib Class Initalized
ERROR - 2012-12-18 19:00:19 --> 404 Page Not Found --> /hauth/login/OpenID
If i try directly : /hauth/endpoint
DEBUG - 2012-12-18 19:04:26 --> Controller Class Initialized
DEBUG - 2012-12-18 19:04:26 --> controllers.HAuth.endpoint called.
INFO - 2012-12-18 19:04:26 --> controllers.HAuth.endpoint: $_REQUEST: Array
(
)
DEBUG - 2012-12-18 19:04:26 --> controllers.HAuth.endpoint: the request method is GET, copying REQUEST array into GET array.
DEBUG - 2012-12-18 19:04:26 --> controllers.HAuth.endpoint: loading the original HybridAuth endpoint script.
If i try directly for test : /hauth/endpoint?hauth.start=facebook&hauth.time=1335053295
DEBUG - 2012-12-18 19:06:38 --> controllers.HAuth.endpoint called.
INFO - 2012-12-18 19:06:38 --> controllers.HAuth.endpoint: $_REQUEST: Array
(
[hauth_start] => facebook
[hauth_time] => 1335053295
)
DEBUG - 2012-12-18 19:06:38 --> controllers.HAuth.endpoint: the request method is GET, copying REQUEST array into GET array.
DEBUG - 2012-12-18 19:06:38 --> controllers.HAuth.endpoint: loading the original HybridAuth endpoint script.
It's very confusing to me that if your request is "/hauth/login/Facebook" the log is saying "controllers.HAuth.login(OpenID) called"
I've found the bug: using the deprecated serviceEnabled method, and this method were buggy.
Try again and tell me if it works.
Sorry for the inconvenience.
it works.
Problem solved.
Thanks a lot.
I use the last version of this code,
But i had a bug, the url : monsite.fr/hauth/login/Facebook
I have this error : 404 Page Not Found
Ii try to add a route, but this didnt work .
The log sees nothing :