Skip to main content

Web template editor, error

Comments

3 comments

  • cPWilliamL
    Hi @Petar, When this happens, have you checked the `/usr/local/cpanel/logs/error_log' error log?: # tail -fn0 /usr/local/cpanel/logs/error_log
    When viewing a preview, a template file is generated as below: # ls -1 /var/cpanel/webtemplates/root/english/* /var/cpanel/webtemplates/root/english/default-preview.tmpl /var/cpanel/webtemplates/root/english/moving-preview.tmpl /var/cpanel/webtemplates/root/english/redirect-preview.tmpl
    The '/root/' portion will change depending on your reseller. This is likely a permissions issue. The permission should be as below: 755 root:root(0:0) directory /var 711 root:root(0:0) directory /var/cpanel 711 root:root(0:0) directory /var/cpanel/webtemplates 711 root:root(0:0) directory /var/cpanel/webtemplates/root 711 root:root(0:0) directory /var/cpanel/webtemplates/root/english
    Can you check the permissions on this path? Thanks,
    0
  • Petar
    Thank you on reply, I'm resolved on this way. Move all file from /var/cpanel/webtemplates/root/english/ except default-preview.tmpl in some temp location. After that preview works !
    0
  • cPWilliamL
    Thanks for sharing your solution @Petar. I am glad to hear all is working well
    0

Please sign in to leave a comment.