Results 1 to 2 of 2

Thread: Template File does not exist

  1. #1
    Registered User
    Join Date
    Nov 2009
    Posts
    1

    Question Template File does not exist

    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
    Last edited by FrankB; 11-03-2009 at 08:34 AM. Reason: Submitted Support Ticket

  2. #2
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,562
    cPanel/WHM Access Level

    DataCenter Provider

    Lightbulb

    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.

Similar Threads

  1. Template Error: The template file must be given.
    By techclan in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 08-01-2012, 02:06 AM
  2. Template Error: The template file must be given
    By fkessler in forum Diskussion auf Deutsch
    Replies: 1
    Last Post: 04-30-2010, 04:07 AM
  3. Replies: 1
    Last Post: 05-14-2009, 02:34 PM
  4. Template file error
    By rix in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 10-24-2007, 01:48 PM
  5. The cPanel Users File does not exist
    By cider head in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 01-23-2005, 04:25 AM

Tags for this Thread