Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: mwalabenn on August 06, 2013, 09:50:06 AM

Title: Password change saved successfully but doesn't actually save---*[SOLVED]*
Post by: mwalabenn on August 06, 2013, 09:50:06 AM
Hey,

I have configured the password plugin but it cannot save when i change from roundcube. I have searched this for days now. can someone help? SKaero? Please?
Title: Re: Password change saved successfully but doesn't actually save
Post by: SKaero on August 06, 2013, 02:15:58 PM
Since you said in another post that your using cPanel my guess would be that your cPanel language isn't in English, it a known problem for the current version of the cPanel driver.
Title: Re: Password change saved successfully but doesn't actually save
Post by: mwalabenn on August 06, 2013, 02:32:50 PM
ok, I don't get you. the cpanel language is in English
Title: Re: Password change saved successfully but doesn't actually save
Post by: SKaero on August 06, 2013, 02:43:39 PM
Ok, is there anything in the error log?
Title: Re: Password change saved successfully but doesn't actually save
Post by: mwalabenn on August 07, 2013, 01:07:15 AM
There is nothing in the error log. But here are the three files attached you may want to look at them to see if there is any problem.
Title: Re: Password change saved successfully but doesn't actually save
Post by: mwalabenn on August 08, 2013, 12:28:54 AM
Help? Anyone?
Title: Re: Password change saved successfully but doesn't actually save
Post by: SKaero on August 08, 2013, 02:00:34 AM
In your config you have the cPanel port set as 2096 which is cPanel's webmail section, it should should be the main panel which is usually port 2083.
Title: Re: Password change saved successfully but doesn't actually save
Post by: mwalabenn on August 08, 2013, 02:08:33 AM
If I change it to 2083 it brings the error: "Could not save new password"
Title: Re: Password change saved successfully but doesn't actually save
Post by: mwalabenn on August 08, 2013, 07:23:20 AM
GUYS AM SO DESPERATE. MY JOB DEPENDS ON THIS :(
Title: Re: Password change saved successfully but doesn't actually save
Post by: mwalabenn on August 08, 2013, 11:18:48 AM
SKaero, does it mean there is no solution for this?
Title: Re: Password change saved successfully but doesn't actually save
Post by: SKaero on August 08, 2013, 11:43:39 AM
There is another thread with a Blue Host user with the same problem http://www.roundcubeforum.net/index.php/topic,13951.0/topicseen.html I wonder if Blue Host is blocking local connections to cPanel. Try adding the following line:

write_log('password', 'Response:'. $response);

Under the following line in the cpanel.php file:
$response = $this->HTTP->getData('mail/dopasswdpop.html', $data);
Then post the password log.
Title: Re: Password change saved successfully but doesn't actually save
Post by: mwalabenn on August 08, 2013, 04:17:45 PM
 :D Hey SKaero, what can I say? You are one hell of a good guy!

I read the password log and I saw the attached code snippet.

Apparently I was giving a very weak password when changing and that is why it could not save the password!

Now it is working fine and I think the other guy on the forum must be doing the mistake I was doing.

Thanks mate, you just saved my ass from being sacked.

Cheerz!!!
Title: Re: Password change saved successfully but doesn't actually save
Post by: sunnyface on August 21, 2013, 03:44:06 AM
Quote from: mwalabenn on August 08, 2013, 04:17:45 PM
:D Hey SKaero, what can I say? You are one hell of a good guy!

I read the password log and I saw the attached code snippet.

Apparently I was giving a very weak password when changing and that is why it could not save the password!

Now it is working fine and I think the other guy on the forum must be doing the mistake I was doing.

Thanks mate, you just saved my ass from being sacked.

Cheerz!!!

Hello, I encount the same problem, and my consiguration as blow:

$rcmail_config['password_driver'] = 'cpanel';
$rcmail_config['password_cpanel_host'] = 'box893.bluehost.com';
$rcmail_config['password_cpanel_username'] = 'myUsername';
$rcmail_config['password_cpanel_password'] = 'myPassword';
$rcmail_config['password_cpanel_port'] = 2083;
$rcmail_config['password_cpanel_ssl'] = true;
$rcmail_config['password_cpanel_theme'] = 'bluehost';

---------------------------------------------------------------------------

Could you please give any hint about what is wrong with my configuration? It does not work with me.

No matter how complex new password, it just tell me Can't set new password.
Title: Re: Password change saved successfully but doesn't actually save---*[SOLVED]*
Post by: mwalabenn on August 21, 2013, 03:49:53 AM
In the cpanel.php file, look for this line:

$response = $this->HTTP->getData('mail/dopasswdpop.html', $data);

Then, below it, add this line:

write_log('password', 'Response:'. $response);

Save the cpanel.php file then try changing your password again.

Then post the password log file here