Jump to content

TCAdmin_advanced integration login not working


Bestrafung

Recommended Posts

First let me apologize for posting here if this isn't the proper place. I have posted this on TCAdmin's forums as well and all they said was that it's because TCAdmin is installed to a virtual directory instead of the root directory.

 

When I login as the test client on WHMCS and go to My Servives and click the product the Login to Control Panel button does not work. I have checked the source code and it is correct:

<form action="http://hivegaming.net:81/tcadmin//Templates/Default/Login.aspx?returnto=%2fTemplates%2fDefault%2fuser_home.aspx%3fGoToServiceBillingID%3d6" method="post" target="_blank">

However after clicking the button it takes you to http://hivegaming.net:81/Templates/Default/user_home.aspx?GoToServiceBillingID=6 instead. I'm running out of time and need this server ready to ship and nobody seems to know what is causing this. I'd greatly appreciate any help.

Link to comment
Share on other sites

If anyone else has this same issue after installing TCAdmin to a virtual directory here's the fix:

In tcadmin_advanced.php change this line:

$code = '<form action="'.($params["serversecure"]=='on' ? 'https':'http').'://'.$params["serverhostname"].'/Templates/Default/Login.aspx?returnto=%2fTemplates%2fDefault%2fuser_home.aspx%3fGoToServiceBillingID%3d'.$params["accountid"].'" method="post" target="_blank">

 

To this:

$code = '<form action="'.($params["serversecure"]=='on' ? 'https':'http').'://'.$params["serverhostname"].'/Templates/Default/Login.aspx?returnto=%2ftcadmin%2fTemplates%2fDefault%2fuser_home.aspx%3fGoToServiceBillingID%3d'.$params["accountid"].'" method="post" target="_blank">

Note the change is to add %2ftcadmin, change tcadmin to whatever your virtual directory is.

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