Question: Shop Web Logout Show Http Error 500 Message

Shop Web Logout Show Http Error 500 Message

hi, shop only from admin into web, if I logout , the shop web shomw HPPT ERROR 500, I check app/logs the message is " ERROR - 2021-03-02 06:14:00 --> Severity: error --> Exception: s

WW

wmf wmf90

Asked
hi, shop only from admin into web, if I logout , the shop web shomw HPPT ERROR 500,

I check app/logs the message is " ERROR - 2021-03-02 06:14:00 --> Severity: error --> Exception: syntax error, unexpected 'secret' (T_STRING) /home/erp945/public_html/app/config/hybridauthlib.php 67 "


please check herer https://www.screenpresso.com/=JYPve
  • MS

    Mian Saleem

    Answered
    Hello,

    Did you edit that `app/config/hybridauthlib.php`?

    Please try to remove everything from file and add the lines below

    ```php
    <?php
    defined('BASEPATH') or exit('No direct script access allowed');

    /* ----------------------------------------------------------------------------
    /* HybridAuth Guide: http://hybridauth.github.io/hybridauth/userguide.html
    /* ------------------------------------------------------------------------- */

    $config = [
    // For godady Shared Hosting Server uncomment the line below
    // Please update the callback url too
    'Hauth_base_url' => 'social_auth/endpoint',

    // Please comment this if you have uncommented the above
    // 'Hauth_base_url' => 'social_auth/endpoint',

    'providers' => [
    'Google' => [
    'enabled' => false,
    'keys' => ['id' => '', 'secret' => ''],
    ],

    'Facebook' => [
    'enabled' => false,
    'keys' => ['id' => '', 'secret' => ''],
    'scope' => 'email, public_profile, user_birthday',
    ],

    'Twitter' => [
    'enabled' => false,
    'keys' => ['key' => '', 'secret' => ''],
    ],

    'Yahoo' => [
    'enabled' => false,
    'keys' => ['id' => '', 'secret' => ''],
    ],

    'Live' => [
    'enabled' => false,
    'keys' => ['id' => '', 'secret' => ''],
    ],

    'MySpace' => [
    'enabled' => false,
    'keys' => ['key' => '', 'secret' => ''],
    ],

    'OpenID' => [
    'enabled' => false,
    ],

    'LinkedIn' => [
    'enabled' => false,
    'keys' => ['key' => '', 'secret' => ''],
    ],

    'Foursquare' => [
    'enabled' => false,
    'keys' => ['id' => '', 'secret' => ''],
    ],

    'AOL' => [
    'enabled' => false,
    ],
    ],

    'debug_mode' => false,

    'debug_file' => APPPATH . 'logs/hybridauth.php',
    ];

    ```

    Thank you
  • WW

    wmf wmf90

    Answered
    ok, i had resoluve it, thank you for your help.
  • Login to Reply