--- Trying cPanel API Endpoints ---
Trying: UAPI Quota/get_quota
URL: https://127.0.0.1:2083/execute/Quota/get_quota
Array
(
[errors] => Array
(
[0] => The system could not find the function “get_quota” in the module “Quota”.
)
[data] =>
[warnings] =>
[messages] =>
[status] => 0
[metadata] => Array
(
)
)
--------------------
Trying: UAPI Quota/fetch_quota
URL: https://127.0.0.1:2083/execute/Quota/fetch_quota
Array
(
[metadata] => Array
(
)
[messages] =>
[status] => 0
[warnings] =>
[errors] => Array
(
[0] => The system could not find the function “fetch_quota” in the module “Quota”.
)
[data] =>
)
--------------------
Trying: UAPI AccountInfo/get_disk_usage
URL: https://127.0.0.1:2083/execute/AccountInfo/get_disk_usage
Array
(
[metadata] => Array
(
)
[status] => 0
[messages] =>
[warnings] =>
[data] =>
[errors] => Array
(
[0] => Failed to load module “AccountInfo”: The system failed to load the module “Cpanel::API::AccountInfo” because of an error: Can't locate Cpanel/API/AccountInfo.pm in @INC (you may need to install the Cpanel::API::AccountInfo module) (@INC entries checked: /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/542/cpanel-lib/x86_64-linux /usr/local/cpanel/3rdparty/perl/542/cpanel-lib /usr/local/cpanel/3rdparty/perl/542/lib/x86_64-linux /usr/local/cpanel/3rdparty/perl/542/lib /opt/cpanel/perl5/542/site_lib/x86_64-linux /opt/cpanel/perl5/542/site_lib) at (eval 5) line 1.
BEGIN failed--compilation aborted at (eval 5) line 1.
)
)
--------------------
Trying: API2 Quota/get_quota
URL: https://127.0.0.1:2083/json-api/cpanel?cpanel_jsonapi_user=sundance&cpanel_jsonapi_apiversion=2&cpanel_jsonapi_module=Quota&cpanel_jsonapi_func=get_quota
Array
(
[cpanelresult] => Array
(
[apiversion] => 2
[module] => Quota
[data] => Array
(
[result] => 0
[reason] => Could not find function 'get_quota' in module 'Quota'
)
[error] => Could not find function 'get_quota' in module 'Quota'
[func] => get_quota
)
)
--------------------
--- Trying PHP Native Functions (disk_total_space & disk_free_space) ---
Home directory: /home/sundance
Total disk space on filesystem: 1067141042176 bytes
Free disk space on filesystem: 206351454208 bytes
Used disk space (approx.): 860789587968 bytes
--- Trying shell_exec('quota -u sundance') ---
Output of `quota -u sundance`:
sh: quota: command not found