SOLVED Custom Suspension Page Will Not Display

Jun 2, 2019
6
2
3
Elkhart, Indiana
cPanel Access Level
Root Administrator
All accounts on the server are owned by root. Fresh suspensions are not showing

/var/cpanel/webtemplates/root/english/suspended.tmpl

That template was properly edited by Web Template Editor and it shows the correct html, but the default template still shows, even after unsuspending/resuspending accounts. What can I do?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
Hello @Jason Overhulser,

Can you submit a support ticket so we can take a closer look at your system and see why the Account Suspended template is not working as intended? You can post the ticket number here once it's opened and I'll link this thread to it.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
Hello @Jason Overhulser,

The /var/cpanel/webtemplates directory (and the files/directories beneath it) are not created as part of the cPanel & WHM installation process. Instead, the directories/files are initially created the first time a custom template is saved using WHM >> Web Template Editor.

In testing, the following file and directories were created with the correct ownership and permission values (e.g. owned by root, directories set to 0711 permissions, files set to 0644 permissions) upon initially saving a custom Account Suspended template using WHM >> Web Template Editor:

/var/cpanel/webtemplates/
/var/cpanel/webtemplates/root/
/var/cpanel/webtemplates/root/english
/var/cpanel/webtemplates/root/english/suspended.tmpl


Let me know if you encounter any issues with the permission/ownership values of these files and/or directories in the future.

Thank you.