简体   繁体   中英

cpanel function deldenyip() is not working

https://192.168.0.0:2087/json-api/cpanel?cpanel_jsonapi_apiversion=1&cpanel_jsonapi_module=Module&cpanel_jsonapi_func=deldenyip&user=username&ip=127.0.0.1

I got error like this

 Array ( [apiversion] => 1 [type] => event [module] => Module [func] => 
deldenyip [source] => module [data] => Array ( [result] => ) [event] => 
Array ( [reason] => Module::deldenyip() failed: Can't use string ("") as a 
subroutine ref while "strict refs" in use at cpanel.pl line 1725. [result] 
=> 0 ) [error] => Module::deldenyip() failed: Can't use string ("") as a 
subroutine ref while "strict refs" in use at cpanel.pl line 1725. ) 

使用xmlapi类文件调用cpanel方法后,它工作正常

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM