"Maximum file size allowed for upload: 0" Error
We have WHM 58.0 (build 20) on our server.
In File Manager > Upload, it is saying "Maximum file size allowed for upload: 0" and we cannot upload any file.
In WHM, we have set file upload to 64M and this Cpanel account has still enough disk space.
How to fix this error?
Thanks.
-
Are quotas enabled on that server? 0 -
same error here and yes quotas enabled on my VPS WHM 58.0 (build 20) OS : CENTOS 6.8 x86_64 0 -
In that account's cPanel > Files section > Disk Usage, at bottom of first listing, there's a total number displayed for Quota Limit and Used disk space. What does that say there? 0 -
there's 2 warnings 1 (XID z87xh2) Quotas are not enabled on any of the provided paths. Please check the paths and try again. Paths: at /usr/local/cpanel/Cpanel/API/StatsBar.pm line 48. Cpanel::API::StatsBar::get_stats(Cpanel::Args=HASH(0x6a5c5a8), Cpanel::Result=HASH(0x6a5c2a8)) called at /usr/local/cpanel/Cpanel/API.pm line 285 Cpanel::API::__ANON__() called at /usr/local/cpanel/Cpanel/API.pm line 357 eval {...} called at /usr/local/cpanel/Cpanel/API.pm line 357 Cpanel::API::_eval_guard(Cpanel::Result=HASH(0x6a5c2a8), CODE(0x6b75238)) called at /usr/local/cpanel/Cpanel/API.pm line 285 Cpanel::API::_run_module_function(Cpanel::Args=HASH(0x6a5c5a8), Cpanel::Result=HASH(0x6a5c2a8), "StatsBar", "get_stats") called at /usr/local/cpanel/Cpanel/API.pm line 142 Cpanel::API::execute("StatsBar", "get_stats", HASH(0x6970ab8)) called at /usr/local/cpanel/base/frontend/paper_lantern/_assets/resource_usage_macro.html.tt line 2 eval {...} called at /usr/local/cpanel/base/frontend/paper_lantern/_assets/resource_usage_macro.html.tt line 2 eval {...} called at /usr/local/cpanel/base/frontend/paper_lantern/_assets/resource_usage_macro.html.tt line 7 Template::Document::__ANON__(Template::Context=HASH(0x6899c90)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 348 eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 321 Template::Context::process(Template::Context=HASH(0x6899c90), "resource_usage_block") called at /usr/local/cpanel/base/frontend/paper_lantern/diskusage/index.html.tt line 24 eval {...} called at /usr/local/cpanel/base/frontend/paper_lantern/diskusage/index.html.tt line 7 Template::Document::__ANON__(Template::Context=HASH(0x6899c90)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 163 eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 161 Template::Document::process(Template::Document=HASH(0x69635a0), Template::Context=HASH(0x6899c90)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 351 eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 321 Template::Context::process(Template::Context=HASH(0x6899c90), Template::Document=HASH(0x69635a0)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 94 eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 91 Template::Service::process(Template::Service=HASH(0x571d0f8), "/usr/local/cpanel/base/frontend/paper_lantern/diskusage/index"..., HASH(0x55b8778)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template.pm line 66 Template::process(Template=HASH(0x6421b38), "/usr/local/cpanel/base/frontend/paper_lantern/diskusage/index"..., HASH(0x55b8778), SCALAR(0x1e6e058)) called at /usr/local/cpanel/Cpanel/Template.pm line 428 Cpanel::Template::process_template("cpanel", HASH(0x55b8778), HASH(0x5d2c620)) called at cpanel.pl line 1183 cpanel::cpanel::cptt_exectag("/usr/local/cpanel/base/frontend/paper_lantern/diskusage/index"..., 1) called at cpanel.pl line 5175 cpanel::cpanel::run_standard_mode() called at cpanel.pl line 839 cpanel::cpanel::script("cpanel::cpanel", "./frontend/paper_lantern/diskusage/index.html.tt") called at cpanel.pl line 295
2Failed to fetch stat item: diskusage:_max at /usr/local/cpanel/Cpanel/API/StatsBar.pm line 49. at /usr/local/cpanel/Cpanel/API/StatsBar.pm line 49. Cpanel::API::StatsBar::get_stats(Cpanel::Args=HASH(0x6a5c5a8), Cpanel::Result=HASH(0x6a5c2a8)) called at /usr/local/cpanel/Cpanel/API.pm line 285 Cpanel::API::__ANON__() called at /usr/local/cpanel/Cpanel/API.pm line 357 eval {...} called at /usr/local/cpanel/Cpanel/API.pm line 357 Cpanel::API::_eval_guard(Cpanel::Result=HASH(0x6a5c2a8), CODE(0x6b75238)) called at /usr/local/cpanel/Cpanel/API.pm line 285 Cpanel::API::_run_module_function(Cpanel::Args=HASH(0x6a5c5a8), Cpanel::Result=HASH(0x6a5c2a8), "StatsBar", "get_stats") called at /usr/local/cpanel/Cpanel/API.pm line 142 Cpanel::API::execute("StatsBar", "get_stats", HASH(0x6970ab8)) called at /usr/local/cpanel/base/frontend/paper_lantern/_assets/resource_usage_macro.html.tt line 2 eval {...} called at /usr/local/cpanel/base/frontend/paper_lantern/_assets/resource_usage_macro.html.tt line 2 eval {...} called at /usr/local/cpanel/base/frontend/paper_lantern/_assets/resource_usage_macro.html.tt line 7 Template::Document::__ANON__(Template::Context=HASH(0x6899c90)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 348 eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 321 Template::Context::process(Template::Context=HASH(0x6899c90), "resource_usage_block") called at /usr/local/cpanel/base/frontend/paper_lantern/diskusage/index.html.tt line 24 eval {...} called at /usr/local/cpanel/base/frontend/paper_lantern/diskusage/index.html.tt line 7 Template::Document::__ANON__(Template::Context=HASH(0x6899c90)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 163 eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 161 Template::Document::process(Template::Document=HASH(0x69635a0), Template::Context=HASH(0x6899c90)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 351 eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 321 Template::Context::process(Template::Context=HASH(0x6899c90), Template::Document=HASH(0x69635a0)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 94 eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 91 Template::Service::process(Template::Service=HASH(0x571d0f8), "/usr/local/cpanel/base/frontend/paper_lantern/diskusage/index"..., HASH(0x55b8778)) called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template.pm line 66 Template::process(Template=HASH(0x6421b38), "/usr/local/cpanel/base/frontend/paper_lantern/diskusage/index"..., HASH(0x55b8778), SCALAR(0x1e6e058)) called at /usr/local/cpanel/Cpanel/Template.pm line 428 Cpanel::Template::process_template("cpanel", HASH(0x55b8778), HASH(0x5d2c620)) called at cpanel.pl line 1183 cpanel::cpanel::cptt_exectag("/usr/local/cpanel/base/frontend/paper_lantern/diskusage/index"..., 1) called at cpanel.pl line 5175 cpanel::cpanel::run_standard_mode() called at cpanel.pl line 839 cpanel::cpanel::script("cpanel::cpanel", "./frontend/paper_lantern/diskusage/index.html.tt") called at cpanel.pl line 295
0 -
Update : i rebooted the VPS and Disk Usage errors disappeared and upload working fine also, problem solved. 0 -
Excellent. Thanks for posting back. 0
Please sign in to leave a comment.
Comments
6 comments