Jump to content

 

evil

Member Since 07 Dec 2016
Offline Last Active May 30 2017 03:37 PM
-----

Posts I've Made

In Topic: Social Login Error

11 May 2017 - 08:41 AM

Hello,

I had the same error.
I solved it replacing this code :

$response_params = array();
    parse_str($access_token_response, $response_params);
    if (!isset($response_params['access_token'])) {
      return false;
    }

    return $response_params['access_token'];
by this :
$response = json_decode($access_token_response);
    if (!isset($response->access_token)) {
      return false;
    }

    return $response->access_token;
in /app/addons/hybrid_auth/lib/Hybrid/thirdparty/base_facebook.php

I have also an error with Google login :

Error User profile request failed! Google returned an invalid response.




Try to change theme.php with new one

app/tygh/themes/theme.php

In Topic: Social Login Error

11 May 2017 - 08:39 AM

Hello,

I had the same error.
I solved it replacing this code :

$response_params = array();
    parse_str($access_token_response, $response_params);
    if (!isset($response_params['access_token'])) {
      return false;
    }

    return $response_params['access_token'];
by this :
$response = json_decode($access_token_response);
    if (!isset($response->access_token)) {
      return false;
    }

    return $response->access_token;
in /app/addons/hybrid_auth/lib/Hybrid/thirdparty/base_facebook.php

I have also an error with Google login :

Error User profile request failed! Google returned an invalid response.

In Topic: Social Login Error

30 March 2017 - 08:38 AM

The error is almost comes in all versions.


In Topic: Social Login Error

30 March 2017 - 07:24 AM

I do know. Please contact CS-Cart support team

Ok.. 
 

Thanks for your reply..  :rolleyes:


In Topic: Social Login Error

30 March 2017 - 05:00 AM

CS-Cart uses outdated Facebook API. They know about this issue and working on it.

How much time it will take ???

any idea?

 

Thank you..!