Closed gelinger777 closed 8 years ago
@maridansoft Hi, I had the same issue. Following changes in config.php fixed it:
$autoload['packages'] = array(APPPATH.'third_party/Hybrid'); ... $autoload['config'] = array("account/account.php");
Still An uncaught Exception was encountered
Type: Exception
Message: Authentication failed! Twitter returned an error. 401 Unauthorized.
Filename: /var/www/admin/data/www/offerhub.ovh/application/third_party/Hybrid/Auth.php
Line Number: 158
Backtrace:
File: /var/www/admin/data/www/offerhub.ovh/application/third_party/Hybrid/Auth.php Line: 41 Function: initialize
File: /var/www/admin/data/www/offerhub.ovh/application/libraries/account/Hybrid_auth_lib.php Line: 40 Function: __construct
File: /var/www/admin/data/www/offerhub.ovh/application/controllers/account/Connect_end.php Line: 22 Function: __construct
File: /var/www/admin/data/www/offerhub.ovh/index.php Line: 292 Function: require_once
It seems a twitter server time issue, which I cant figure out how to fix :(
There was a fix for Twitter recently in HybridAuth, will be included in the next pull. If that doesn't solve the issue then we'll have to look again.
would it be also in 3rd beta?
Eventually. Tonight I'm releasing new version of HybridAuth and if time permits it will be there tonight.
You rock man!
@AdwinTrave still after fresh install the 404 thing is still there.
Back from the hell of finals. I will be looking into this in the coming weeks.
any news on this?
Looking at the code it looks like that the library thinks that the given provider is not enabled. Which means that the setup is not happening correctly.
OK, found the issue and fixed it!
When We try to go into social account login after activation in /account/account.php
we get 404 error.
I have tried to
*/ function provider_enabled($provider) { phpinfo();
in hybrid_auth lib in /libraries folder, and it seems assignment of array is not happening fully and from the config file only the $config['third_party_auth'] = array( // set on "base_url" the relative url that point to HybridAuth Endpoint 'base_url' => '/account/connect_end/',
The base URL part is taken, and the part
"providers" =>
is totally ignored.
How we can overcome this issue?
Best regards