chamithlkml
- Total activity 27
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 5
Posts
Votes on activity by chamithlkml-
cPanel api2 MysqlFE::listdbs returns only first mysql database
Hi, Test cPanel account has got 3 mysql databases. But when I try with cPanel api2 MysqlFE::listdbs, it returns only the first database always. This was reproduced for few other cPanel accounts too...
-
MySQL access host is not applied to existing db users
Hi, I tried adding an external host as MySQL access host for a cPanel user account via the cPanel API UAPI Mysql::add_host and then API2 MysqlFE::authorizehost. In both scenarios, ip and host are s...
-
How to access root's non volatile data in cpanel user account
Hi, My cPanel plugin needs some configuration parameters and they are set via WHM. I need to access those configuration parameters inside the plugin files via cPanel user account. Please let me kno...
-
How to create plugin for FlatPanel Theme
Hi, Please send me the links to documentation on how to create plugins for cPanel's FlatPanel theme. Thanks - Chamith
-
cPanel API 2 MysqlFE::createdbuser does not work for WHM version 11.48.0
Hello, I have been using MysqlFE::createdbuser for creating mysql db user for a given database. I was working fine for WHM version < 11.48. But after upgraded into WHM 11.48, this api fails. PHP C...
-
Following Hooks are not fired through cPanel activities
Hi, I was trying to implement following hooks and found they are not triggered by relative cPanel activity. Please help me to figure out why is that and a solution for the issues. [LIST] mysql::up...
-
Ftp::delftp hook doesn't fire
Hi, I'm trying to implement the hook for Ftp::delftp. So I created a php script and placed at /usr/local/cpanel/hooks/ftp/delftp and gave chmod 755 permissions. Then executed /usr/local/cpanel/bin/...
-
How to call cPanel privilege escalation functions via api..?
Hi, Please help me to understand how to call cPanel privilege escalation functions through cPanel/WHM API. Thanks.
-
How to pass data to php AdminBin application when escalating privileges
Hi, I need to pass multiple variables into Adminbin script written in PHP in full mode. I use perl script to call Adminbin.
-
Install cPanel plugin in WHM in each server at once..?
Please consider this incident. Lets say a WHM user has got 1000 servers using for cPanel hosting. Does he need to execute cPanel plugin installation command on each server so that all cPanel users ...