travis_ss

Member
Oct 5, 2012
6
0
1
cPanel Access Level
Root Administrator
Hi,

I created my own theme by editing only email quotas in them as per mentioned by uniden in:

http://forums.cpanel.net/f5/cpanel-11-how-do-i-change-default-email-quota-68801-p2.html

But it gives "[a fatal error or timeout occurred while processing this directive]" clicking on it, it gives:

"Template::Exception:
[TYPE]=[file]
[INFO]=[_calendar.tmpl: not found]
[TEXT]=[]"

Then for testing, I downloaded x3 theme and uploaded it by just renaming it, but then too it gives same:

"Template::Exception:
[TYPE]=[file]
[INFO]=[_calendar.tmpl: not found]
[TEXT]=[]"

Any suggestion what is causing this?

Thank you.
Scott McDonald
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

Could you let us know the full error message that is output to /usr/local/cpanel/logs/error_log when you see the error message in the cPanel interface?

Thank you.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
77
308
cPanel Access Level
Root Administrator
Hello, I am not able to reproduce this in cPanel & WHM 11.40 pre-release. Which version of cPanel & WHM do you have installed?
 

travis_ss

Member
Oct 5, 2012
6
0
1
cPanel Access Level
Root Administrator
Hi Michael,

Thanks for your reply. Here is what is get in error_log

die [Internal Death while parsing ./frontend/test/filemanager/index.html 799975] Template::Exception:
[TYPE]=[file]
[INFO]=[_calendar.tmpl: not found]
[TEXT]=[]

Regards,
Scott
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Please see Kenneth's post above:

cPanelKenneth
Hello, I am not able to reproduce this in cPanel & WHM 11.40 pre-release. Which version of cPanel & WHM do you have installed?
 

KostonConsulting

Well-Known Member
Verifed Vendor
Jun 17, 2010
255
1
68
San Francisco, CA
cPanel Access Level
Root Administrator
Scott,
You don't need to edit the theme if you're setting a quota of less than 2048 megs. There's a tweak setting for that in WHM: Default user-defined quota value for new email accounts (Maximum: 2,048)

On this specific issue with _calendar.tmpl, you should have a symlink in the theme root (/usr/local/cpanel/base/frontend/$theme) like so:

lrwxrwxrwx 1 root root 59 Apr 5 2012 _calendar.tmpl -> /usr/local/cpanel/whostmgr/docroot/templates/_calendar.tmpl

If symlink (or the original file) is missing, you'll get the template error as /filemanager/index.html tries to pull in _calendar.tmpl on line 98 like so:

Code:
<?cptt _calendar.tmpl ?>