Roundcube Community Forum

 

Password change saved successfully but doesn't actually save---*[SOLVED]*

Started by mwalabenn, August 06, 2013, 09:50:06 AM

Previous topic - Next topic

mwalabenn

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?

SKaero

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.

mwalabenn


SKaero


mwalabenn

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.


SKaero

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.

mwalabenn

If I change it to 2083 it brings the error: "Could not save new password"

mwalabenn


mwalabenn


SKaero

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.

mwalabenn

 :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!!!

sunnyface

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.

mwalabenn

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