Comments

  1. Google_Client nya tidak di temukan
    $client = new Google_Client();
    $client->setAuthConfigFile(APPPATH.’client_secret.json’); //rename file ini supaya lebih aman nanti
    $client->setRedirectUri(“http://localhost/login_google/index.php/auth/google”);
    $client->setScopes(array(

    pesan error nya : Fatal error: Class ‘Google_Client’ not found in C:\xampp\htdocs\login_google\application\controllers\Auth.php on line 64

    gak ada yang di edit, masih sama dengan panduannya, kenapa ya?

    Reply
  2. variabel nama dan username tidak ada di profile.php mas

    Reply
    • kan didapat dari sini mas $profile = $this->session->userdata(‘login’); isi variable profile itu ada index nama dan username…

      Reply
  3. A PHP Error was encountered
    Severity: Warning

    Message: require(D:\xampp\htdocs\klikjap_web\application\vendor\composer/../guzzlehttp/psr7/src/functions_include.php): failed to open stream: No such file or directory

    Filename: composer/autoload_real.php

    Line Number: 66

    Backtrace:

    File: D:\xampp\htdocs\klikjap_web\application\vendor\composer\autoload_real.php
    Line: 66
    Function: _error_handler

    File: D:\xampp\htdocs\klikjap_web\application\vendor\composer\autoload_real.php
    Line: 66
    Function: composerRequireb6b1b7b5efcac91b85a155321f380bf7

    File: D:\xampp\htdocs\klikjap_web\application\vendor\composer\autoload_real.php
    Line: 56
    Function: composerRequireb6b1b7b5efcac91b85a155321f380bf7

    File: D:\xampp\htdocs\klikjap_web\application\vendor\autoload.php
    Line: 7
    Function: getLoader

    File: D:\xampp\htdocs\klikjap_web\index.php
    Line: 315
    Function: require_once

    Reply
  4. Terimakasih untuk informasinya sangat membantu sekali

    Reply
  5. Error kaya gini kenapa ya gan ?

    Severity: Notice

    Message: Undefined property: Auth::$AuthModel

    Filename: controllers/Auth.php

    Line Number: 57

    Backtrace:

    File: /var/www/bukaportal/Testingheri/application/controllers/Auth.php
    Line: 57
    Function: _error_handler

    File: /var/www/bukaportal/Testingheri/index.php
    Line: 315
    Function: require_once

    Reply
  6. PHP Error was encountered
    Severity: Warning

    Message: count(): Parameter must be an array or an object that implements Countable

    Filename: Handler/CurlFactory.php

    Line Number: 67

    Backtrace:

    File: C:\xam\htdocs\ci_login_app\application\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php
    Line: 67
    Function: count

    File: C:\xam\htdocs\ci_login_app\application\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php
    Line: 107
    Function: release

    File: C:\xam\htdocs\ci_login_app\application\vendor\guzzlehttp\guzzle\src\Handler\CurlHandler.php
    Line: 43
    Function: finish

    File: C:\xam\htdocs\ci_login_app\application\vendor\guzzlehttp\guzzle\src\Handler\Proxy.php
    Line: 28
    Function: __invoke

    File: C:\xam\htdocs\ci_login_app\application\vendor\guzzlehttp\guzzle\src\Handler\Proxy.php
    Line: 51
    Function: GuzzleHttp\Handler{closure}

    File: C:\xam\htdocs\ci_login_app\application\vendor\guzzlehttp\guzzle\src\PrepareBodyMiddleware.php
    Line: 72
    Function: GuzzleHttp\Handler{closure}

    File: C:\xam\htdocs\ci_login_app\application\vendor\guzzlehttp\guzzle\src\Middleware.php
    Line: 30
    Function: __invoke

    File: C:\xam\htdocs\ci_login_app\application\vendor\guzzlehttp\guzzle\src\RedirectMiddleware.php
    Line: 68
    Function: GuzzleHttp{closure}

    File: C:\xam\htdocs\ci_login_app\application\vendor\guzzlehttp\guzzle\src\Middleware.php
    Line: 57
    Function: __invoke

    File: C:\xam\htdocs\ci_login_app\application\vendor\guzzlehttp\guzzle\src\HandlerStack.php
    Line: 67
    Function: GuzzleHttp{closure}

    File: C:\xam\htdocs\ci_login_app\application\vendor\guzzlehttp\guzzle\src\Client.php
    Line: 275
    Function: __invoke

    File: C:\xam\htdocs\ci_login_app\application\vendor\guzzlehttp\guzzle\src\Client.php
    Line: 96
    Function: transfer

    File: C:\xam\htdocs\ci_login_app\application\vendor\guzzlehttp\guzzle\src\Client.php
    Line: 104
    Function: sendAsync

    File: C:\xam\htdocs\ci_login_app\application\vendor\google\auth\src\HttpHandler\Guzzle6HttpHandler.php
    Line: 34
    Function: send

    File: C:\xam\htdocs\ci_login_app\application\vendor\google\auth\src\OAuth2.php
    Line: 492
    Function: __invoke

    File: C:\xam\htdocs\ci_login_app\application\vendor\google\apiclient\src\Google\Client.php
    Line: 186
    Function: fetchAuthToken

    File: C:\xam\htdocs\ci_login_app\application\vendor\google\apiclient\src\Google\Client.php
    Line: 165
    Function: fetchAccessTokenWithAuthCode

    File: C:\xam\htdocs\ci_login_app\application\controllers\Auth.php
    Line: 49
    Function: authenticate

    File: C:\xam\htdocs\ci_login_app\index.php
    Line: 315
    Function: require_once

    Reply

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.