foxss |
|
---|---|
Проблема решилась??? в общем в ланг файле есть строка // in case we get error_reason=user_denied&error=access_denied
if ( isset( $_REQUEST['error'] ) && $_REQUEST['error'] == "access_denied" ){
throw new Exception( "Authentication failed! The user denied your request.", 5 );
}
// try to get the UID of the connected user from fb, should be > 0
if ( ! $this->api->getUser() ){
throw new Exception( "Authentication failed! {$this->providerId} returned an invalid user id.", 5 );
}
по русски Authentication failed! {$this->providerId} returned an invalid user id
звучит как Ошибка аутентификации! {$ This-> providerId} возвращает недопустимый идентификатор пользователя а
// in case we get error_reason=user_denied&error=access_denied
...
throw new Exception( "Authentication failed! The user denied your request.", 5 );
}
звучит как
// в случае, если мы получим error_reason = user_denied & error = access_denied
если кто найдет решение вопроса отпишитесь плиз.
Добавлено 9 часов спустя: [решено / solved] удалить папку lib и вставить папку из аттача delite folder lib and paste fom attache folder attach: https://www.cotonti.com/datas/users/lib_4152.rar Добавлено 2 минуты спустя: короче фб поменял апи и теперь не отдает реальный ID пользователя :-( Добавлено 6 дней спустя: ЗЫ в файле \lib\Hybrid\Providers\facebook.php 2 строка require_once('Hybrid/Auth.php'); замените ее на include_once('Hybrid/Auth.php'); |
|
Відредаговано: foxss (13.08.2017 23:14, 7 років тому) |