Bestrafung Posted August 18, 2010 Share Posted August 18, 2010 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. 0 Quote Link to comment Share on other sites More sharing options...
Bestrafung Posted August 20, 2010 Author Share Posted August 20, 2010 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. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.