Shop Web Logout Show Http Error 500 Message

0

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

Question Resolved For: Shop (Shopping Cart) & APIs Modules for Stock Manager Advance 0 Votes 2 Answers 588 Views
Asked by wmf wmf90 4 years ago

0

Answered by Mian Saleem 4 years ago

Hello,

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

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

<?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

0

Answered by wmf wmf90 4 years ago

ok, i had resoluve it, thank you for your help.

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.