Jump to content

"login to control panel" link in Clients Profile


Ked

Recommended Posts

The "login to control panel" link in Clients Profile -> Products & Services does not appear to work properly with my cpanel.

 

When I click it it takes me to:

 

hxxp://customerdomain.com:2086/xfercpanel/accountlogin

 

Which is the WHM port / login URL

 

If I manually enter:

 

hxxp://customerdomain.com/cpanel

or

hxxp://customerdomain.com:2082/

 

Then I am able to log in with the recorded credentials.

 

Is this a bug or am I doing something stupid ?

Link to comment
Share on other sites

  • WHMCS CEO

It's trying to log you in as root, not the client - it's quite likely they have changed their password since the account creation so what you have in WHMCS may not be be correct which is why root/reseller is used.

 

Matt

Link to comment
Share on other sites

  • 2 months later...
  • 2 weeks later...

This feature isn't working well for me either - I have to log in as root, not the user, which means several features are not available to me.

 

Since the user changed their password, I have no way to recover it to be able to view things like webmail, for example. I wish there were a way to recover passwords!

Link to comment
Share on other sites

  • 3 weeks later...

This link (badly) needs to be renamed and moved to another location. but if you were to keep it here and log into the control panel as the user that would be really nice. Then you can put a correctly named link in another location that performs this function.

The positioning of this function not intuitive. That is why you have so many questions.

 

Besides it being named incorrectly and placed in a confusing spot, the least it could do is to pull the id and pw that is already in the system and use it to log me in as the root user.

Link to comment
Share on other sites

  • 4 weeks later...
When I click it it takes me to:

 

http://customerdomain.com:2086/xfercpanel/accountlogin

 

but it should be

 

https://customerdomain.com:2083/xfercpanel/accountlogin

 

https instead of http

2083 instead of 2086

 

How can i change them?

 

Read above, you're being logged into WHM using the root/reseller password, not cPanel - it then redirects you to the cPanel account.

Link to comment
Share on other sites

I am having the same issue. The user has not changed their password (I've disabled this in CPanel - they have to update through WHMCS) and the link takes me to http://sharedserverIP:2086/xfercpanel/username but it's redirecting to WHM and asking for the WHM password. Typing in the username and password does not work, unless I type in either my root WHM password or another WHM account. Once this is done, it directs me into the users CPanel, but logged in as root, not the user.

Link to comment
Share on other sites

  • WHMCS CEO

There is no issue here. The link is logging you in as root/reseller and so the link links to port 2086 which is correct for WHM. You are then transferred to the users cpanel account exactly the same as the cpanel button you find directly in WHM next to a users account does. You don't know the users username and password so can't login any other way.

 

Matt

Link to comment
Share on other sites

2086 which is correct for WHM. You are then transferred to the users cpanel account exactly the same as the cpanel button you find directly in WHM next to a users account does.

 

In my WHM, the cpanel button takes me https://domain.com:2087/xfercpanel/username

 

One way or another, I wnt to change the link manully, as i did in clients' profile.

 

How can i change it? Which tpl has this link? I 'll write down it manually.

Link to comment
Share on other sites

  • 4 weeks later...

Ok, I got this to work by doing the following:

 

1) Create an access hash key in WHM.

This wasn't as straightforward as it could be as there was no obvious link in WHM to do this. Instead I had to enter a URL manually:

 

http://<yourdomain>:2086/scripts/setrhash

 

I then selected the hash and copied it to the clipboard.

 

2) Add the access hash to the server profile in WHMCS:

Configuration -> Servers -> Edit the particular server

Scroll to the bottom and paste the access hash in to the access hash field

 

Bingo!

Link to comment
Share on other sites

  • 5 years later...

Doesn't work for me..

 

I am using a reseller account for all my clients accounts, over 150 of them.

 

I need to know where in WHMCS I can manually change the port of 2086 (http://SERVER:2086/xfercpanel/CLIENT) to port 2083 (http://SERVER:2082/xfercpanel/CLIENT).

I have tried by editing the cpanel.tpl, but alas, it is still pulling this 2086 port from somewhere..

 

Please advise me where.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated