Jump to content

WHMCS Latest Release - Serverstatus Page issue


Recommended Posts

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.

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.

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