HTTP 404 Error after Login to cPanel - Theme issue

Error

HTTP error 401 Invalid security token

or

HTTP 404 Error after Login to cPanel

Cause:

Current cPanel theme assigned to the user account may not working or not available in the server. So changing the theme to another will solve the issue.



Solution


Change current theme of cPanel



Front End:

1. Login to WHM as root user.

2. Main >> Account Functions >> Modify an Account

3. Check  'cPanel Theme' given for the specific account which you have problem. change it then save the changes.

4. Try login to your account again.


Back End:

1. Login as root user via ssh.

2. Open edit the file, /var/cpanel/users/<username>
    change the RS value in the file to x3

3. restart cPanel service.