After installing Shop module, sma is working on following URL http://domain.com/admin/welcome. but my shop module is not working on URL http://domain.com.
received following error
This page isn’t workingmaximemonline.com is currently unable to handle this request. HTTP ERROR 500
- FPAnswered
What’s your error log on php and apache look like?
- MSAnswered
Hello,
You need to check your server php error logs to know the cause. You can enable app logs by changing the
log_threshold
to 1 in theapp/config/config.php
and then try to visit shop page again to produce errors. Lastly check the latest log file in theapp/logs/
folder.Thank you
- MKAnswered
ERROR - 2022-03-17 23:11:23 --> Severity: error --> Exception: syntax error, unexpected ‘=>’ (T_DOUBLE_ARROW) /home/530186.cloudwaysapps.com/vmwpfckdxd/public_html/app/config/hybridauthlib.php 67 ERROR - 2022-03-17 23:11:26 --> Severity: error --> Exception: syntax error, unexpected ‘=>’ (T_DOUBLE_ARROW) /home/530186.cloudwaysapps.com/vmwpfckdxd/public_html/app/config/hybridauthlib.php 67 ERROR - 2022-03-17 23:11:48 --> Severity: error --> Exception: syntax error, unexpected ‘=>’ (T_DOUBLE_ARROW) /home/530186.cloudwaysapps.com/vmwpfckdxd/public_html/app/config/hybridauthlib.php 67
error received on my log file
- MKAnswered
already I have changed log_threshold to 1, but still not working
- MSAnswered
Hello,
Please make sure you are on php 7.4
If yes, you can replace the contents of file
app/config/hybridauthlib.php
with following<?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 'callback' => 'social_auth/login', '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', ], '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
- Login to Reply