Roundcube Community Forum

 

Cpanel Password Change For RC2

Started by dukhunter99, October 30, 2007, 09:11:15 AM

Previous topic - Next topic

dukhunter99

I was wondering if someone was working on a password change patch for this release for Cpanel installations or if there was one available? ???

cferd

I'm using this script: http://www.ingeniarte.com/rcpasswd.php which I found soon after finding RC. It's working fine with Roundcube RC2

dukhunter99

But aren't reverting back to RC1 (index.php) when you overwrite the index.php file with the one provided by the patch?

cferd

Sorry. I forgot to mention that except for passwd.inc and files located in the provided skin/ folder, I manually changed the respective RC2 files.

I would provide you the files, but because of other unrelated modifications I've done to them, they probably won't fit your installation.

virtualz

I attempted to change the files manually but I did not know what to change. Would it be possible for you to list the parts that need to be changed. Thanks.

cferd

Do you have CPanel 10, or CPanel 11?

virtualz

Thanks for replying.
I think I have cpanel 10. When I login to cpanel, right under the banner on the left its written "cpanel 10" in small letters. I assumed I have cpanel 10. I cannot find any where in the cpanel that gives me the version number.
Thanks.

cferd

Looks like passwd.inc is the only difference between the 2 patches.

I haven't tried installing the CPanel 10 patch (I have CP11), but if the RC1 patch works for it, then this RC2 patch should also work.

I attached the modified patch.

superia97

I tried the CP11 patch. But I encountered an message "An error occured while saving' when I change the password.
How can I determine the cause of the problem?
Thanks.

cferd

Did you try it on RC1 or RC2?

Remember, the CPanel 11 patch found in the link above is for RC1.

For RC2, you'd have to modify the affected files manually.

superia97

I tried it on RC2. What are the files to modify?

cferd

They are the same files that come with the patch. I believe the only files that don't need changes are passwd.inc and 2 files in the /skin folder.

largan

I have tried the patch and everything looks ok (no errors), but when I try to change the password I am getting the following error:

"An error occured while saving"

I am running CPanel 11, but I applied the patch for RC2 (CPanel 10).

Could someone provide me with the patch RC2 (CPanel 11).

Thak you in advance! ;)

cferd

Replace your passwd.inc file with the one found in patch for RC1 (CPanel11).

You may also have to change the "x" on line ~43 to whatever skin name your host uses.

Example:

from :2095/webmail/x/mail/dopasswdpop.html
to :2095/webmail/bluehost/mail/dopasswdpop.html

largan

Yeap,

That was it. replacing the passwd.inc file and changing the "x" to "x3" did the trick.

Now it is working like a charm.

Thanks a lot.