Roundcube Community Forum

Release Support => Pending Issues => Topic started by: flyaway2122 on November 09, 2010, 01:55:32 AM

Title: PHP Error: Password plugin: Unable to open driver
Post by: flyaway2122 on November 09, 2010, 01:55:32 AM
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
Title: PHP Error: Password plugin: Unable to open driver
Post by: alec on November 09, 2010, 02:25:09 AM
You have wrong value for 'password_driver' config option.
Title: PHP Error: Password plugin: Unable to open driver
Post by: flyaway2122 on November 09, 2010, 02:50:38 AM
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 :(
Title: PHP Error: Password plugin: Unable to open driver
Post by: alec on November 09, 2010, 02:59:07 AM
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.
Title: PHP Error: Password plugin: Unable to open driver
Post by: flyaway2122 on November 09, 2010, 03:14:27 AM
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
Title: PHP Error: Password plugin: Unable to open driver
Post by: alec on November 09, 2010, 03:33:55 AM
So, maybe you should use 'cpanel' driver?
Title: PHP Error: Password plugin: Unable to open driver
Post by: flyaway2122 on November 09, 2010, 04:11:28 AM
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)
Title: PHP Error: Password plugin: Unable to open driver
Post by: SKaero on November 09, 2010, 12:07:09 PM
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']
Title: PHP Error: Password plugin: Unable to open driver
Post by: flyaway2122 on November 10, 2010, 03:59:59 AM
thanks skaero !!! :eek: so happy that it works now, you are my god 0:)