Jump to content

UnBlockIP - Free CSF Unblock Module for WHMCS


Recommended Posts

  • 2 weeks later...
  • 3 weeks later...

Works fine, but I can't get the code for clientareahome.tpl to trigger?

 

{if $unblockip}

{if $unblockip_alerts}

<div class="alert alert-error textcenter">

<p><strong>Your IP Address was blocked on your server, if you were having issues accessing your server, please try again now<br>

The block has been removed.</strong></p>

<p>

Detailed Block Information: <br>

{$unblockip_alerts}</p>

</div>

{/if}

{if $unblockip_errors}

<div class="alert alert-error textcenter">

<p><strong>Your IP Address is blocked on your server and we are unable to remove the block automatically.<br>Please open a support ticket.</strong></p>

</div>

{/if}

{/if}

 

It does not seem to do anything at all?

Link to comment
Share on other sites

Version 2.0 is now available for download from our client portal with support for WHMCS V6.

 

-Updated module to work with WHMCS v6.

-Added support for both the fix and six themes

-Ip's are now also removed from cphulk

Link to comment
Share on other sites

  • 5 weeks later...
Works fine, but I can't get the code for clientareahome.tpl to trigger?

 

{if $unblockip}

{if $unblockip_alerts}

<div class="alert alert-error textcenter">

<p><strong>Your IP Address was blocked on your server, if you were having issues accessing your server, please try again now<br>

The block has been removed.</strong></p>

<p>

Detailed Block Information: <br>

{$unblockip_alerts}</p>

</div>

{/if}

{if $unblockip_errors}

<div class="alert alert-error textcenter">

<p><strong>Your IP Address is blocked on your server and we are unable to remove the block automatically.<br>Please open a support ticket.</strong></p>

</div>

{/if}

{/if}

 

It does not seem to do anything at all?

 

 

 

Same here, all the other functionality works fine in my WHMCS 6.0.2 with SIX theme.

Link to comment
Share on other sites

  • 5 months later...

Just a heads up if anyone else seeing their error_log blowing up, looks like a change occurred in the php configuration with the cpanel PHP-FPM update.

 

[18-Feb-2016 08:30:01 UTC] PHP Warning: shell_exec() has been disabled for security reasons in /etc/csf/whmcs_unblock.php on line 13

[18-Feb-2016 08:30:01 UTC] PHP Warning: shell_exec() has been disabled for security reasons in /etc/csf/whmcs_unblock.php on line 14

[18-Feb-2016 08:30:01 UTC] PHP Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /etc/csf/whmcs_unblock.php on line 113

 

Obviously this requires shell_exec.

 

Found a couple servers with 5gb /etc/csf/error_log files.

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