alexandregz / twofactor_gauthenticator

This RoundCube plugin adds the 2-step verification(OTP) to the login proccess
MIT License
214 stars 74 forks source link

Failed to load plugin file #195

Closed le0np closed 2 months ago

le0np commented 2 months ago

Hello,

I cloned the plugin into the plugins directory, as per instructions, added twofactor_gauthenticator in the config.inc.php inside /etc/roundcube/ , but it does not seem to work for me.

config.inc.php: $config['plugins'] = ['password', 'newmail_notifier', 'zipdownload', 'archive', 'twofactor_gauthenticator'];

Roundcube error log:

[17-May-2024 19:08:47 +0900]: PHP Error: Failed to load plugin file /var/lib/roundcube/plugins/twofactor_gauthenticator/twofactor_gauthenticator.php in /var/lib/roundcube/program/lib/Roundcube/rcube_plugin_api.php on line 193 (GET /?_task=settings&_action=preferences)
[17-May-2024 19:09:49 +0900]: PHP Error: Failed to load plugin file /var/lib/roundcube/plugins/twofactor_gauthenticator/twofactor_gauthenticator.php in /var/lib/roundcube/program/lib/Roundcube/rcube_plugin_api.php on line 193 (POST /?_task=settings&_action=refresh)

I tried switching between PHP7.4, 8.0 and 8,1

Any help is appreciated.

le0np commented 2 months ago

Fixed now. I was cloning into the wrong Roundcube directory....