Roundcube Community Forum

 

PHP Error: Password plugin: Unable to open driver

Started by flyaway2122, November 09, 2010, 01:55:32 AM

Previous topic - Next topic

flyaway2122

Hi, my roundcube webmail is running smoothly but the password plugin is not, i get this error "Could not save new password" everytime i try to change my password, here is the error log

QuotePHP Error: Password plugin: Unable to open driver file /home/xx/public_html/mail/plugins//password/drivers/passwd.php in /home/xx/public_html/mail/plugins/password/password.php on line 212 (POST /mail/?_task=settings&_action=plugin.password-save?_task=&_action=)

Please help me, thanks

alec

You have wrong value for 'password_driver' config option.

flyaway2122

Thanks alec, the value is
Quote$rcmail_config['password_driver'] = 'passwd';
is it correct ? and i have to place the passwd.inc in : program/steps/settings/ right ? could you guide me if i'm wrong ? i'm newbie and don't know much about that, sorry if i'm wasting your time, i could not find a fully tutorial for a noob like me :(

alec

Just read plugin's README file. Then enable plugin in main config and configure the plugin in its config file. No need to move files.

flyaway2122

thanks alec, now i got this error
QuotePHP Error: Password plugin: Unable to execute sudo /usr/sbin/chpasswd 2> /dev/null in /home/xx/public_html/mail/plugins/password/drivers/chpasswd.php on line 0 (POST /mail/?_task=settings&_action=plugin.password-save?_task=&_action=)

is it because of the database ? i'm stucked in this situation for 2 days, installing the roundcube for several times but the problem is not solved :'(
my hosting is hostgator, i'm using cpanel - mysql if this can help

alec


flyaway2122

i just reinstalled the roundcube and choose the "cpanel" but i got a new error
Quote[09-Nov-2010 03:02:20] PHP Warning:  fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/xx/public_html/mail/plugins/password/drivers/cpanel.php on line 43
[09-Nov-2010 03:02:20] PHP Warning:  fsockopen() [function.fsockopen]: unable to connect to ssl://host.domain.com:2082 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /home/xx/public_html/mail/plugins/password/drivers/cpanel.php on line 43

:(
alec, is it possible if i give you my hosting account and you can help me to solve it ? (i'm bothering you so many times - sorry)

SKaero

You also have to configure the following options in the /plugins/password/config.inc.php
  • $rcmail_config['password_cpanel_host']
  • $rcmail_config['password_cpanel_username']
  • $rcmail_config['password_cpanel_password']
  • $rcmail_config['password_cpanel_port']
  • $rcmail_config['password_cpanel_ssl']
  • $rcmail_config['password_cpanel_theme']

flyaway2122

thanks skaero !!! :eek: so happy that it works now, you are my god 0:)