Author Topic: Enigma problem  (Read 5603 times)

Offline quwax

  • Jr. Member
  • **
  • Posts: 24
Enigma problem
« on: January 20, 2018, 08:28:06 AM »
Hello,
the enigma plugin is not loading.
Looking into the errors log it just says:
PHP Error: Failed to load plugin file /usr/local/roundcubemail/plugins/engima/engima.php in /usr/local/roundcubemail-1.3.4/program/lib/Roundcube/rcube_plugin_api.php on line 173
any insights?
Thanks

Offline alec

  • Hero Member
  • *****
  • Posts: 1,363
Re: Enigma problem
« Reply #1 on: January 20, 2018, 01:05:12 PM »
You made a typo in plugin name.

Offline quwax

  • Jr. Member
  • **
  • Posts: 24
Re: Enigma problem
« Reply #2 on: January 20, 2018, 09:48:28 PM »
Bingo  ::)
Stupid me LOL
Permission should be rw for _www
When I try to import keys, it hangs on loading, so what's the best way to store the keys - I can export them with GPG Keychain and the server is in my house.
it hangs here:
PHP Fatal error:  Uncaught Error: Class 'html_button' not found in /usr/local/roundcubemail-1.3.4/plugins/enigma/lib/enigma_ui.php:622
Thanks
« Last Edit: January 21, 2018, 02:09:51 AM by quwax »

Offline alec

  • Hero Member
  • *****
  • Posts: 1,363
Re: Enigma problem
« Reply #3 on: January 21, 2018, 03:13:32 AM »
Looks like you're using enigma version from git-master with Roundcube 1.3. This will not gonna work.

Offline quwax

  • Jr. Member
  • **
  • Posts: 24
Re: Enigma problem
« Reply #4 on: January 21, 2018, 05:05:07 AM »
Thanks again,
OK, got it. I did that, because the plugin didn't load initially, but the problem was sitting in front of the screen  ::)
Now it's working :-)
So now I got another one, I wanted to move the keystorage folder away from the roundcube folder so I set
$config['enigma_pgp_homedir'] = '/usr/local/enigma_store/';
in config.inc.php.dist
but it looks like the setting is ignored.
should i remove the .dist on the end?
thanks again

Offline telecom2k3

  • Newbie
  • *
  • Posts: 7
Re: Enigma problem
« Reply #5 on: February 20, 2018, 07:32:11 AM »
The configuration file is: config.inc.php.  The generally accepted practice is to copy any config.inc.php.dist files to config.inc.php, then modify the config.inc.php file.  That way, you always have the configuration references supplied by the distribution's author (.dist).