Giter Site home page Giter Site logo

whmcs-csf-manager's People

Contributors

idanbenezra avatar jetserver avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

whmcs-csf-manager's Issues

PHP error

Hi,

I downloaded and activated this module, but when i try to open it under Addon modles, i got this PHP error messages:

Fatal error: Uncaught BadFunctionCallException: mysql_free_result is not supported in /home/whmcs/includes/dbcompatfunctions.php:0 Stack trace: #0 /home/whmcs/modules/addons/csfmanager/includes/functions.php(28): mysql_free_result(Object(PDOStatement)) #1 /home/whmcs/modules/addons/csfmanager/includes/functions.php(36): csfmanager->__construct() #2 /home/whmcs/modules/addons/csfmanager/csfmanager.php(167): csfmanager::getInstance() #3 [internal function]: csfmanager_output(Array) #4 /home/whmcs/fonok/addonmodules.php(0): call_user_func('csfmanager_outp...', Array) #5 {main} Next BadFunctionCallException: mysql_free_result is not supported in /home/whmcs/vendor/whmcs/whmcs-foundation/lib/Terminus.php:0 Stack trace: #0 [internal function]: WHMCS\Terminus::whmcsExceptionHandler(Object(BadFunctionCallException)) #1 {main} thrown in /home/whmcs/vendor/whmcs/whmcs-foundation/lib/Terminus.php on line 0

PHP version is 7:
PHP 7.0.17 (cli) (built: Mar 19 2017 14:34:58) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v6.0.9, Copyright (c) 2002-2016, by ionCube Ltd.

Unable to search for IPs to unblock

Hello!

I was told you should be able to search for IPs that are blocked (from the customer login/facing side), but that option doesn't appear under the "Unblock IP" page while logged in as a customer.

I did find the following in the web console of my browser and assumed related:

Uncaught TypeError: Cannot read property 'columns' of null at HTMLDocument.<anonymous> (index.php?m=csfmanager&page=unblock&id=830:547) at u (scripts.min.js?v=0be73a:2) at Object.fireWith [as resolveWith] (scripts.min.js?v=0be73a:2) at Function.ready (scripts.min.js?v=0be73a:2) at HTMLDocument.s (scripts.min.js?v=0be73a:1)

I'm honestly at a loss at this point, I've even upgraded the plugin to current, still no change in functionality or error. Could someone please point me in the correct direction?

Error After Installing


Oops!
Something went wrong and we couldn't process your request.

Please go back to the previous page and try again.

If the problem persists, please contact us.

« Back to Homepage

For additional assistance, please reference the WHMCS TroubleShooting Guide »

BadFunctionCallException: mysql_free_result is not supported in /home/xxxxxxx/public_html/billing/includes/dbcompatfunctions.php:0
Stack trace:
#0 /home/xxxxxxx/public_html/billing/modules/addons/csfmanager/includes/functions.php(28): mysql_free_result(false)
#1 /home/xxxxxxx/public_html/billing/modules/addons/csfmanager/includes/functions.php(36): csfmanager->__construct()
#2 /home/xxxxxxx/public_html/billing/modules/addons/csfmanager/csfmanager.php(167): csfmanager::getInstance()
#3 /home/xxxxxxx/public_html/billing/admin-access-only/addonmodules.php(0): csfmanager_output(Array)
#4 {main}

Error: Cannot use string offset as an array

I suspect this is an issue when running on PHP 7.2. When trying to unblock an IP that is blocked, we get the following error:

Error: Cannot use string offset as an array in /DIR/modules/addons/csfmanager/includes/class_firewall.php:154
Stack trace:
#0 /DIR/modules/addons/csfmanager/csfmanager.php(713): Firewall->checkIP(NULL, '0')
#1 /DIR/vendor/whmcs/whmcs-foundation/lib/Module/AbstractModule.php(0): csfmanager_clientarea(Array)
#2 /DIR/vendor/whmcs/whmcs-foundation/lib/Module/Addon.php(0): WHMCS\Module\AbstractModule->call('clientarea', Array)
#3 /DIR/vendor/whmcs/whmcs-foundation/lib/Module/ClientAreaController.php(0): WHMCS\Module\Addon->call('clientarea', Array)
#4 [internal function]: WHMCS\Module\ClientAreaController->index(Object(WHMCS\Http\Message\ServerRequest))
#5 /DIR/vendor/middlewares/utils/src/CallableHandler.php(26): call_user_func_array(Array, Array)
#6 /DIR/vendor/middlewares/fast-route/src/FastRoute.php(96): Middlewares\Utils\CallableHandler::execute(Array, Array)
#7 /DIR/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/HandleProcessor.php(0): Middlewares\FastRoute->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))
#8 /DIR/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\HandleProcessor->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))
#9 /DIR/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\HandleProcessor->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))
#10 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils{closure}(Object(WHMCS\Http\Message\ServerRequest))
#11 /DIR/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest))
#12 /DIR/vendor/middlewares/utils/src/Dispatcher.php(56): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest))
#13 /DIR/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/BackendDispatch.php(0): Middlewares\Utils\Dispatcher->dispatch(Object(WHMCS\Http\Message\ServerRequest))
#14 /DIR/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\BackendDispatch->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))
#15 /DIR/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\BackendDispatch->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))
#16 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils{closure}(Object(WHMCS\Http\Message\ServerRequest))
#17 /DIR/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest))
#18 /DIR/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutePathMatch.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest))
#19 /DIR/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutePathMatch->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))
#20 /DIR/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutePathMatch->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))
#21 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils{closure}(Object(WHMCS\Http\Message\ServerRequest))
#22 /DIR/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest))
#23 /DIR/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/WhitelistFilter.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest))
#24 /DIR/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/DelegatingMiddlewareTrait.php(0): WHMCS\Route\Middleware\WhitelistFilter->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))
#25 /DIR/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\WhitelistFilter->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))
#26 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils{closure}(Object(WHMCS\Http\Message\ServerRequest))
#27 /DIR/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest))
#28 /DIR/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableClientModuleRequest.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest))
#29 /DIR/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableClientModuleRequest->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))
#30 /DIR/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableClientModuleRequest->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))
#31 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils{closure}(Object(WHMCS\Http\Message\ServerRequest))
#32 /DIR/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest))
#33 /DIR/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableAdminRequestUri.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest))
#34 /DIR/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableAdminRequestUri->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))
#35 /DIR/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableAdminRequestUri->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))
#36 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils{closure}(Object(WHMCS\Http\Message\ServerRequest))
#37 /DIR/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest))
#38 /DIR/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableRequestUri.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest))
#39 /DIR/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableRequestUri->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))
#40 /DIR/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableRequestUri->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))
#41 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils{closure}(Object(WHMCS\Http\Message\ServerRequest))
#42 /DIR/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest))
#43 /DIR/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableRequestQueryUri.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest))
#44 /DIR/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableRequestQueryUri->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))
#45 /DIR/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableRequestQueryUri->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate))
#46 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils{closure}(Object(WHMCS\Http\Message\ServerRequest))
#47 /DIR/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest))
#48 /DIR/vendor/middlewares/utils/src/Dispatcher.php(56): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest))
#49 /DIR/index.php(0): Middlewares\Utils\Dispatcher->dispatch(Object(WHMCS\Http\Message\ServerRequest))
#50 {main}

PHP7 ioncube support

Hello,

The code which re encoded with ioncube under ganon folder, are not compatible with ioncube which are running on PHP7.

Can you upgrade this code please?

after installation getting error

Screenshot

Oops!
Something went wrong and we couldn't process your request.
Please go back to the previous page and try again.

If the problem persists, please [contact us](mailto:[email protected]).

[« Back to Homepage](https://hoster.pk/clientarea)

For additional assistance, please reference the [WHMCS TroubleShooting Guide »](https://docs.whmcs.com/Troubleshooting_Guide)

BadFunctionCallException: mysql_free_result is not supported in /home/hostersp/domains/hoster.pk/public_html/clientarea/includes/dbcompatfunctions.php:0
Stack trace:
#0 /home/hostersp/domains/hoster.pk/public_html/clientarea/modules/addons/csfmanager/includes/functions.php(28): mysql_free_result(Object(PDOStatement))
#1 /home/hostersp/domains/hoster.pk/public_html/clientarea/modules/addons/csfmanager/includes/functions.php(36): csfmanager->__construct()
#2 /home/hostersp/domains/hoster.pk/public_html/clientarea/modules/addons/csfmanager/csfmanager.php(167): csfmanager::getInstance()
#3 /home/hostersp/domains/hoster.pk/public_html/clientarea/zee/addonmodules.php(0): csfmanager_output(Array)
#4 {main}

WHMCS Error

BadFunctionCallException: mysql_free_result is not supported in /home/username/public_html/includes/dbcompatfunctions.php:0
Stack trace:
#0 /home/username/public_html/modules/addons/csfmanager/includes/functions.php(28): mysql_free_result(Object(PDOStatement))
#1 /home/username/public_html/modules/addons/csfmanager/includes/functions.php(36): csfmanager->__construct()
#2 /home/username/public_html/modules/addons/csfmanager/csfmanager.php(167): csfmanager::getInstance()
#3 [internal function]: csfmanager_output(Array)
#4 /home/username/public_html/Vishnuamu/addonmodules.php(0): call_user_func('csfmanager_outp...', Array)
#5 {main}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.