Roundcube Community Forum

Release Support => Resolved Issues => Topic started by: dukhunter99 on October 30, 2007, 09:11:15 AM

Title: Cpanel Password Change For RC2
Post by: dukhunter99 on October 30, 2007, 09:11:15 AM
I was wondering if someone was working on a password change patch for this release for Cpanel installations or if there was one available? ???
Title: Re: Cpanel Password Change For RC2
Post by: cferd on October 30, 2007, 01:32:38 PM
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
Title: Re: Cpanel Password Change For RC2
Post by: dukhunter99 on October 31, 2007, 07:11:13 PM
But aren't reverting back to RC1 (index.php) when you overwrite the index.php file with the one provided by the patch?
Title: Re: Cpanel Password Change For RC2
Post by: cferd on October 31, 2007, 08:42:06 PM
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.
Title: Re: Cpanel Password Change For RC2
Post by: virtualz on November 12, 2007, 12:22:01 AM
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.
Title: Re: Cpanel Password Change For RC2
Post by: cferd on November 12, 2007, 08:16:35 AM
Do you have CPanel 10, or CPanel 11?
Title: Re: Cpanel Password Change For RC2
Post by: virtualz on November 13, 2007, 02:28:30 AM
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.
Title: Re: Cpanel Password Change For RC2
Post by: cferd on November 13, 2007, 04:42:22 PM
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.
Title: Re: Cpanel Password Change For RC2
Post by: superia97 on November 19, 2007, 03:34:40 AM
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.
Title: Re: Cpanel Password Change For RC2
Post by: cferd on November 19, 2007, 12:49:01 PM
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.
Title: Re: Cpanel Password Change For RC2
Post by: superia97 on November 19, 2007, 10:19:32 PM
I tried it on RC2. What are the files to modify?
Title: Re: Cpanel Password Change For RC2
Post by: cferd on November 20, 2007, 01:22:30 PM
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.
Title: Re: Cpanel Password Change For RC2
Post by: largan on November 20, 2007, 06:10:57 PM
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! ;)
Title: Re: Cpanel Password Change For RC2
Post by: cferd on November 20, 2007, 09:43:34 PM
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
Title: Re: Cpanel Password Change For RC2
Post by: largan on November 21, 2007, 12:05:14 AM
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.