Hi,
I've tried to configure the SSO plugin in a fresh copy of Codo Forum, and it doesn't works.
The steps I've made:
- Download codoforum.v.4.9.2.zip and unzip
- Access Install, and follow steps
- Between step 2 and 3 I've got the error on my log file:
[Mon Apr 27 04:33:42 2020] [warn] [client 193.104.51.88] mod_fcgid: stderr: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] No such file or directory in /var/www/html/forum/sys/vendor/illuminate/database/Illuminate/Database/Connectors/Connector.php:47, referer: forum.todayis20.com/install/index.php?u=/index.php&step=2
- If I refresh page, then it works fine (this happened to me the 3 times I've installed the code doing some tests)
- Go to plugin page and enable SSO. Then upgrade, configure and fill with my data
- Configure the client.php file in my Auth site.
In this point, when I access to the forum's site I get:
Fatal error: Uncaught Error: Call to a member function addJS() on null in /var/www/html/forum/sys/globals/global.php:136
Stack trace:
#0 /var/www/html/forum/sites/default/plugins/sso/sso.php(109): add_js('forum.to...', Array)
#1 [internal function]: add_sso_js(Array, Array)
#2 /var/www/html/forum/sys/CODOF/Hook.php(74): call_user_func_array('add_sso_js', Array)
#3 /var/www/html/forum/sys/CODOF/Smarty/Layout.php(26): CODOF\Hook::call('before_site_hea...')
#4 /var/www/html/forum/routes.php(939): CODOF\Smarty\Layout::load('forum/topics', Array, Array)
#5 /var/www/html/forum/sys/Ext/limonade/limonade.php(421): {closure}()
#6 /var/www/html/forum/sys/CODOF/Access/Request.php(94): run()
#7 /var/www/html/forum/routes.php(952): CODOF\Access\Request::start()
#8 /var/www/html/forum/index.php(22): require('/var/www...')
#9 {main} thrown in /var/www/html/forum/sys/globals/global.php on line 136
I've tried to remove the error lines and add the js and css on the layout.tpl file, but timestamp errors come to me.
Any advice? 
Hi,
I've tried to configure the SSO plugin in a fresh copy of Codo Forum, and it doesn't works.
The steps I've made:
- Download codoforum.v.4.9.2.zip and unzip
- Access Install, and follow steps
- Between step 2 and 3 I've got the error on my log file:
````
[Mon Apr 27 04:33:42 2020] [warn] [client 193.104.51.88] mod_fcgid: stderr: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] No such file or directory in /var/www/html/forum/sys/vendor/illuminate/database/Illuminate/Database/Connectors/Connector.php:47, referer: forum.todayis20.com/install/index.php?u=/index.php&step=2
````
- If I refresh page, then it works fine (this happened to me the 3 times I've installed the code doing some tests)
- Go to plugin page and enable SSO. Then upgrade, configure and fill with my data
- Configure the client.php file in my Auth site.
In this point, when I access to the forum's site I get:
````
Fatal error: Uncaught Error: Call to a member function addJS() on null in /var/www/html/forum/sys/globals/global.php:136
Stack trace:
#0 /var/www/html/forum/sites/default/plugins/sso/sso.php(109): add_js('forum.to...', Array)
#1 [internal function]: add_sso_js(Array, Array)
#2 /var/www/html/forum/sys/CODOF/Hook.php(74): call_user_func_array('add_sso_js', Array)
#3 /var/www/html/forum/sys/CODOF/Smarty/Layout.php(26): CODOF\Hook::call('before_site_hea...')
#4 /var/www/html/forum/routes.php(939): CODOF\Smarty\Layout::load('forum/topics', Array, Array)
#5 /var/www/html/forum/sys/Ext/limonade/limonade.php(421): {closure}()
#6 /var/www/html/forum/sys/CODOF/Access/Request.php(94): run()
#7 /var/www/html/forum/routes.php(952): CODOF\Access\Request::start()
#8 /var/www/html/forum/index.php(22): require('/var/www...')
#9 {main} thrown in /var/www/html/forum/sys/globals/global.php on line 136
````
I've tried to remove the error lines and add the js and css on the layout.tpl file, but timestamp errors come to me.
Any advice? :)

