The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cPanel new theme problem

Discussion in 'User Experience' started by travis_ss, Sep 8, 2013.

  1. travis_ss

    travis_ss Member

    Joined:
    Oct 5, 2012
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    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
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    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?
     
  4. travis_ss

    travis_ss Member

    Joined:
    Oct 5, 2012
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    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
     
  5. travis_ss

    travis_ss Member

    Joined:
    Oct 5, 2012
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Any update Michael?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Please see Kenneth's post above:

     
  7. KostonConsulting

    KostonConsulting Well-Known Member

    Joined:
    Jun 17, 2010
    Messages:
    255
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    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 ?>
    
     
Loading...

Share This Page