HostinPK Posted July 8, 2012 Share Posted July 8, 2012 I have upgraded to the latest version of whmcs and having issue with server status page. Server load and uptime is not being displayed. Check attachment. Check the URL - http://order.hostinpk.com/serverstatus.php 0 Quote Link to comment Share on other sites More sharing options...
XFuse Posted July 13, 2012 Share Posted July 13, 2012 The problem is in the script. If you look at line 37, you will see the call for the port number. It will look like checkPort({$num},80); You need to make the changes to this to work with your page. The one you want to put for your page would be as follows: <td id="uptime{$num}"><img src="images/loadingsml.gif" alt="{$LANG.loading}" /><script> checkPort({$num},80); checkPort({$num},21); checkPort({$num},110); getStats({$num}); </script></td> This would need to go right after the <td id="load{$num} on the serverstatus.tpl for your site template. If you want to add other ports, you will need to change checkPort({$num},110); to match the port number, put a space after the preceding ;. The example for this would be like this checkPort({$num},110); checkPort({$num},143); Hope this helps. 0 Quote Link to comment Share on other sites More sharing options...
HostinPK Posted July 14, 2012 Author Share Posted July 14, 2012 Problem solved after template upgrade to latest version. Mods can close this thread 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.