Webhosting Blog

Error after changing WHM theme

WHM Themes are the GUI (Graphic User Interface) of WebHost Manager and cPanel – they control the “look and feel” of these applications. However after changing the WHM theme sometimes you can deal with following error while trying to revert the changed theme.

Error: [a fatal error or timeout occurred while processing this directive]file error – /usr/local/cpanel/whostmgr/docroot/themes/canarias/templates/setmytheme.tmpl: not found

This error is generally encountered when the theme is not set properly.

Follow following steps to resolve the error:

1) The file that stores the WHM theme is located as follows: For root the path is: /root/.whmtheme

2) Login to the server as the root user.

3) View the current theme of the server with the following command.

[root@server~]# vi /root/.whmtheme

4)To set the WHM theme back to the default, you an use the following:

[root@server~]# echo “x” > /root/.whmtheme

Thats It!! Now login to your WHM again. Error Resolved!


One response

  1. Serg

    Man, thank you so mush. You save my life :)

    February 2, 2011 at 7:18 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s