Wharfdale Posted October 16, 2022 Share Posted October 16, 2022 Hi, From the client area the "Login to cPanel" and "Email" are no longer working. From the actions sidebar. Has anyone else had this issue? The cPanel quick links below work fine. Thanks in advance. 0 Quote Link to comment Share on other sites More sharing options...
muhajir Posted October 17, 2022 Share Posted October 17, 2022 I got the same issue, I just upgraded to whmcs 8.5.1 last night. Please help if anyone has the solutions 0 Quote Link to comment Share on other sites More sharing options...
Wharfdale Posted October 17, 2022 Author Share Posted October 17, 2022 (edited) Muhajir, I noticed last night if you change back to Six or Twenty One the links work. The url is exactly the same though but it just won't load cPanel. I don't know if this is a whmcs problem or a theme issue. Either way updating it in the past never broke it. Edited October 17, 2022 by Wharfdale 1 Quote Link to comment Share on other sites More sharing options...
muhajir Posted October 17, 2022 Share Posted October 17, 2022 @Wharfdale Thank you for your reply. I just switched to the original Six and Twenty-One and both are working well. It could be something incompatible on my custom theme, I will look further. 0 Quote Link to comment Share on other sites More sharing options...
Wharfdale Posted October 17, 2022 Author Share Posted October 17, 2022 Let me know if you figure it out. @muhajir 0 Quote Link to comment Share on other sites More sharing options...
leemahoney3 Posted October 17, 2022 Share Posted October 17, 2022 19 hours ago, Wharfdale said: Hi, From the client area the "Login to cPanel" and "Email" are no longer working. From the actions sidebar. Has anyone else had this issue? The cPanel quick links below work fine. Thanks in advance. When you click on either button, do you get a spinning icon beside it? Or does the end of the URL in your web browser show a # sign? If possible, open the developer tools in your web browser and go to the Console. Click on either link again and check the console to see if any errors are defined. Pass them on if so. Please also open the network tab and check to see if the following request is being made when you click on either link: index.php?rp=/clientarea/service/[ID]/custom-action/cpanel The Response tab should state: {"success":true,"redirectTo":"[SERVER URL WITH TOKEN]"} 0 Quote Link to comment Share on other sites More sharing options...
Wharfdale Posted October 17, 2022 Author Share Posted October 17, 2022 (edited) 49 minutes ago, leemahoney3 said: When you click on either button, do you get a spinning icon beside it? Or does the end of the URL in your web browser show a # sign? If possible, open the developer tools in your web browser and go to the Console. Click on either link again and check the console to see if any errors are defined. Pass them on if so. Please also open the network tab and check to see if the following request is being made when you click on either link: index.php?rp=/clientarea/service/[ID]/custom-action/cpanel The Response tab should state: {"success":true,"redirectTo":"[SERVER URL WITH TOKEN]"} Hi Lee, no spinning just a #. I will inspect it when I get home and update you. Thank you Edited October 17, 2022 by Wharfdale 0 Quote Link to comment Share on other sites More sharing options...
leemahoney3 Posted October 17, 2022 Share Posted October 17, 2022 1 minute ago, Wharfdale said: Hi Lee, no spinning just a #. I will inspect it when I get home and update you. If it's just a hash then it's likely the JavaScript isn't being called for some reason. Take a look at the Console in your dev tools and see if anything shows, if not check the Network tab to see if any resources are showing a 404 or 500 error. 0 Quote Link to comment Share on other sites More sharing options...
hakan4848 Posted October 18, 2022 Share Posted October 18, 2022 same problem occurred to me. version 8.5.1 0 Quote Link to comment Share on other sites More sharing options...
Wharfdale Posted October 19, 2022 Author Share Posted October 19, 2022 Hi Lee, When I got home my installation was corrupted apparently. I attempted to do a restore from backups but that fail too. Anyway I have now got a fresh whmcs install and clients etc are all back. However accounts are not showing registered domains that have been purchased through me. Will this sort its self out with the 48hr cron sync or do I need to force it some how. Any advice is appreciated. Matt 0 Quote Link to comment Share on other sites More sharing options...
muhajir Posted October 22, 2022 Share Posted October 22, 2022 On 10/17/2022 at 4:27 PM, Wharfdale said: Let me know if you figure it out. @muhajir In my case, finally I keep using my existing theme and add a hook scripts below. It's working. <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaPrimarySidebar', 1, function(MenuItem $primarySidebar) { $service = Menu::context('service'); $id = $service->id; $domain = $service->domain; $servertype = $service->product->servertype; # Not cPanel, no links added if ($servertype!="cpanel"){ return; } if (!is_null($primarySidebar->getChild('Service Details Actions'))) { $primarySidebar->getChild('Service Details Actions') ->getChild('cpanel') ->setUri('/clientarea.php?action=productdetails&id='.$id.'&dosinglesignon=1'); $primarySidebar->getChild('Service Details Actions') ->getChild('webmail') ->setUri('https://webmail.'.$domain.'/'); } }); 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.