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.

Template File does not exist

Discussion in 'General Discussion' started by FrankB, Nov 3, 2009.

  1. FrankB

    FrankB Registered

    Joined:
    Nov 3, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I HAVE SUBMITTED THIS AS A SUPPORT TICKET TO THE HELPDESK, I WILL LET USERS KNOW HOW TO SOLVE THIS PROBLEM ONCE I GET AN ANSWER.

    Dear Sir/Madam,

    I have got the following version of CPanel running on my webserver:

    WHM 11.24.2 cPanel 11.24.5-R37946
    CENTOS 5.4 i686 on virtuozzo - WHM X v3.1.0

    I have the following accounts on my webserver cpanel:

    Root
    Admin (reseller)
    Admin (end-user)

    The Problem I get when logging into the Admin (reseller) account is the following:

    No matter on which menulink I click on I get the following error:

    Template file /usr/local/cpanel/whostmgr/docroot/themes/reseller/templates/selscript.tmpl does not exist.

    Template file /usr/local/cpanel/whostmgr/docroot/themes/reseller/templates/listaccts.tmpl does not exist.

    etc....

    I believe that I do not have the template "reseller" on my Cpanel, so I created one called "reseller" by cloning the "x3" template and then renaming it to "reseller". But this did not solve my problem.

    I also cannot log out of my Admin (reseller) account anymore because there is no logout button anymore.

    Is there anyway I can get this to work again? Maybe change it back to the x3 theme? I have tried doing this through my Root account but it does not work.

    Any ideas? Please. I would be very thankful!

    All the best
    Frank
     
    #1 FrankB, Nov 3, 2009
    Last edited: Nov 3, 2009
  2. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    If possible, please PM me your ticket number.

    What is the name of the WHM theme being used by the reseller account?

    For reference, the WHM theme may be defined or viewed manually; the file that stores the WHM theme is located as follows:

    For root:
    /root/.whmtheme

    For resellers (where "username" is that of the reseller):
    /home/username/.whmtheme

    A command such as "cat" could be used to view the theme:
    Code:
    # cat /root/.whmtheme
    # cat /home/username/.whmtheme
    To set the WHM theme back to the default, you could use the following:
    Code:
    # echo "x" > /root/.whmtheme
    # echo "x" > /home/username/.whmtheme
    To locate and view defined WHM themes for all resellers, "find" could be used along with "grep" as seen in the following example:
    Code:
    # find /home -maxdepth 2 -type f -name ".whmtheme" -exec grep -H "" '{}' \;
    If there is no file named ".whmtheme" in the reseller user's home directory, then the reseller user may not have attempted changing the theme and so the default should be in-use.
     
Loading...

Share This Page