Author Topic: Password Plugin - Urgent Help Please  (Read 4946 times)

Offline xMoex

  • Newbie
  • *
  • Posts: 3
Password Plugin - Urgent Help Please
« on: January 02, 2013, 02:04:41 PM »
Hello all, very great support i found here to setup everything, im stuck on the last step which is the Change Password plugin via cPanel.

I'm using version 0.8.4 of roundcube,

I've edited the Config file to:

Code: [Select]
// ----------------------------------
// PLUGINS
// ----------------------------------

// List of active plugins (in plugins/ directory)
// $rcmail_config['plugins'] = array();
$rcmail_config['plugins'] = array(
   'persistent_login',
   'password' );


And the config for the plugin to:

Code: [Select]

// Password Plugin options
// -----------------------
// A driver to use for password change. Default: "sql".
// See README file for list of supported driver names.
$rcmail_config['password_driver'] = 'cpanel';


// cPanel Driver options
// --------------------------
// The cPanel Host name
$rcmail_config['password_cpanel_host'] = 'host246.hostmonster.com';

// The cPanel admin username
$rcmail_config['password_cpanel_username'] = 'user';

// The cPanel admin password
$rcmail_config['password_cpanel_password'] = 'pass';

// The cPanel port to use
$rcmail_config['password_cpanel_port'] = 2083;

// Using ssl for cPanel connections?
$rcmail_config['password_cpanel_ssl'] = true;

// The cPanel theme in use
$rcmail_config['password_cpanel_theme'] = 'hostmonster';

I get "Password could not be saved" Message, is there any special permissions like 0777 for any specific files or any solutions or ideas to try? Please,

Regards,

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Password Plugin - Urgent Help Please
« Reply #1 on: January 02, 2013, 08:18:56 PM »
What the error in the RoundCube error log?

Offline xMoex

  • Newbie
  • *
  • Posts: 3
Re: Password Plugin - Urgent Help Please
« Reply #2 on: January 02, 2013, 11:33:00 PM »
Hello Skaero,

Code: [Select]
[02-Jan-2013 21:29:46 -0700]: PHP Error: Failed to load plugin file /home1/asetuaec/public_html/email/plugins/persistent_login/persistent_login.php in /home1/asetuaec/public_html/email/program/include/rcube_plugin_api.php on line 202 (GET /email/)
[02-Jan-2013 21:30:07 -0700]: PHP Error: Failed to load plugin file /home1/asetuaec/public_html/email/plugins/persistent_login/persistent_login.php in /home1/asetuaec/public_html/email/program/include/rcube_plugin_api.php on line 202 (POST /email/?_task=login&_action=login)
[02-Jan-2013 21:30:08 -0700]: PHP Error: Failed to load plugin file /home1/asetuaec/public_html/email/plugins/persistent_login/persistent_login.php in /home1/asetuaec/public_html/email/program/include/rcube_plugin_api.php on line 202 (GET /email/?_task=mail)
[02-Jan-2013 21:30:10 -0700]: PHP Error: Failed to load plugin file /home1/asetuaec/public_html/email/plugins/persistent_login/persistent_login.php in /home1/asetuaec/public_html/email/program/include/rcube_plugin_api.php on line 202 (GET /email/?_task=mail&_action=list&_mbox=INBOX&_refresh=1&_remote=1&_unlock=loading1357187409540&_=1357187409548)
[02-Jan-2013 21:30:10 -0700]: PHP Error: Failed to load plugin file /home1/asetuaec/public_html/email/plugins/persistent_login/persistent_login.php in /home1/asetuaec/public_html/email/program/include/rcube_plugin_api.php on line 202 (GET /email/?_task=mail&_action=getunread&&_remote=1&_unlock=0&_=1357187409552)
[02-Jan-2013 21:30:15 -0700]: PHP Error: Failed to load plugin file /home1/asetuaec/public_html/email/plugins/persistent_login/persistent_login.php in /home1/asetuaec/public_html/email/program/include/rcube_plugin_api.php on line 202 (GET /email/?_task=settings)
[02-Jan-2013 21:30:17 -0700]: PHP Error: Failed to load plugin file /home1/asetuaec/public_html/email/plugins/persistent_login/persistent_login.php in /home1/asetuaec/public_html/email/program/include/rcube_plugin_api.php on line 202 (GET /email/?_task=settings&_action=plugin.password)
[02-Jan-2013 21:30:31 -0700]: PHP Error: Failed to load plugin file /home1/asetuaec/public_html/email/plugins/persistent_login/persistent_login.php in /home1/asetuaec/public_html/email/program/include/rcube_plugin_api.php on line 202 (POST /email/?_task=settings&_action=plugin.password-save?_task=&_action=)
[02-Jan-2013 21:30:31 -0700]: PHP Error: Password plugin: Broken driver cpanel in /home1/asetuaec/public_html/email/plugins/password/password.php on line 258 (POST /email/?_task=settings&_action=plugin.password-save?_task=&_action=)

Seems to be a lot of Errors! I hope you know whats happening.
Regards,

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Password Plugin - Urgent Help Please
« Reply #3 on: January 03, 2013, 04:20:43 PM »
The "Failed to load plugin file /home1/asetuaec/public_html/email/plugins/persistent_login" error means you persistent_login is incorrect setup, you should remove it from the plugins array to stop the error.
The "Password plugin: Broken driver cpanel" would be why the password plugin isn't work but its an odd error to have, is <RC root>/plugins/drivers/cpanel.php available? Did you make any modifications to it?

Offline xMoex

  • Newbie
  • *
  • Posts: 3
Re: Password Plugin - Urgent Help Please
« Reply #4 on: January 03, 2013, 08:44:35 PM »
The "Failed to load plugin file /home1/asetuaec/public_html/email/plugins/persistent_login" error means you persistent_login is incorrect setup, you should remove it from the plugins array to stop the error.
The "Password plugin: Broken driver cpanel" would be why the password plugin isn't work but its an odd error to have, is <RC root>/plugins/drivers/cpanel.php available? Did you make any modifications to it?

Ok, now i just feel slow, But highly appreciate your response, the cpanel.php was corrupted, i replaced it with a fresh one and everything is functioning now,

-Solved, Thanks again Skaera.