Steve Kemp

Active Member
Ive just seen an error in cPanel Bandwidth functions

It seems that it cant handle the Leap Year

A fatal error or timeout occurred while processing this directive.

Template::Exception:
[TYPE]=[undef]
[INFO]=[Day '29' out of range 1..28 at /usr/local/cpanel/Cpanel/Time.pm line 119.
]
[TEXT]=[


]
at cpanel.pl line 1234.
cpanel::cpanel::cptt_exectag("/usr/local/cpanel/base/frontend/paper_lantern/stats/bandwidth"..., 1) called at cpanel.pl line 5214
cpanel::cpanel::run_standard_mode() called at cpanel.pl line 869
cpanel::cpanel::script("cpanel::cpanel", "./frontend/paper_lantern/stats/bandwidth.html.tt") called at cpanel.pl line 331



Does anyone have a fix or work around for this as we need to do end of month Billing for Bandwidth etc
 

julissax

Member
Apr 21, 2014
5
3
53
cPanel Access Level
Root Administrator
Hi,

This error is not solved by cPanel, is not compatible with day 29 of February.

The icon Bandith stats in cpanel show the next error:

i.share.pho.to/feb312ca_o.png

Please fix. Thanks
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

Internal case CPANEL-4493 is open to address an issue where the cPanel bandwidth page is not opening (the page shows "A fatal error or timeout occurred while processing this directive") as referenced in this thread. You can monitor our change log to see when a resolution for this issue has been released:

Change Logs - Documentation - cPanel Documentation

Thank you.