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
0
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
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.
Please visit https://tecdiary.com for purchase, support and all other tasks. If you find any bug/error there, please do inform us. Thank you