Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED Custom Suspension Page Will Not Display

Discussion in 'General Discussion' started by Jason Overhulser, Jun 3, 2019.

  1. Jason Overhulser

    Jason Overhulser Member

    Joined:
    Jun 2, 2019
    Messages:
    6
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    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?
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,528
    Likes Received:
    2,180
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Jason Overhulser

    Jason Overhulser Member

    Joined:
    Jun 2, 2019
    Messages:
    6
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Elkhart, Indiana
    cPanel Access Level:
    Root Administrator
    12492997

    Thanks!
     
    cPanelMichael likes this.
  4. Jason Overhulser

    Jason Overhulser Member

    Joined:
    Jun 2, 2019
    Messages:
    6
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Elkhart, Indiana
    cPanel Access Level:
    Root Administrator
    It was a permissions issue. The tech changed it for me from 700 to 644 and it's fine now. I had not changed any file properties, so it seems logical that the file was created with the wrong permissions during installation.
     
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,528
    Likes Received:
    2,180
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Jason Overhulser

    Jason Overhulser Member

    Joined:
    Jun 2, 2019
    Messages:
    6
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Elkhart, Indiana
    cPanel Access Level:
    Root Administrator
    Thanks for that clarification. So when Web Template Editor first created that template file, the permissions were incorrect. That's curious. I will watch for that in the future. And thanks again for your collective help.
     
    cPanelMichael likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice