After changing the WHM theme sometimes you can deal with following error while trying to revert the changed theme.
[wpfmb type=’error’ theme=2]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[/wpfmb]
This error is generally occurs when the theme is not set properly.
The file that stores the WHM theme is located as follows: For root the path is: /root/.whmtheme
Login to the server as the root user.
You can view the current theme of the server with the following command:
To set the WHM theme back to the default, you an use the following:
echo “x” > /root/.whmtheme
Now login to your WHM again. Error Resolved!