Template Error: The template file must be given.

techclan

Member
Aug 15, 2010
6
0
51
After update to WHM 11.28.87 I get "Template Error: The template file must be given" when add new domains or park them.
Everything seems to complete ok but going to the domain forwards to /cgi-sys/defaultwebpage.cgi with that error.

I Tried Apache Update
I Tried Force Cpanel Update
I Tried Rebuilding Apache Configuration
Same Issue.

Any help is appreciated.
 
Last edited by a moderator:

techclan

Member
Aug 15, 2010
6
0
51
Issue resolved by performing below via ssh:
cd /usr/bin
mv perl perl-backup
ln -s /usr/local/bin/perl perl
 

Chris.Bshm

Member
Oct 20, 2011
13
0
51
Before running these commands, you must make sure there is not already a symlink between the two files as you may symlink a symlink.

You can run `ll /usr/bin/perl /usr/local/bin/perl` to check prior to running anything - if you have any questions please open a support ticket before moving the Perl binaries around.
 

katz_global

Well-Known Member
PartnerNOC
After update to WHM 11.28.87 I get "Template Error: The template file must be given" when add new domains or park them.
Everything seems to complete ok but going to the domain forwards to /cgi-sys/defaultwebpage.cgi with that error.

I Tried Apache Update
I Tried Force Cpanel Update
I Tried Rebuilding Apache Configuration
Same Issue.

Any help is appreciated.
I did find an easy fix for this. Under: Main >> Account Functions >> Web Template Editor

All you need to do is press the revert to default template button below where the html goes. The perl fix above only caused more issues for me, which cpanel has had to help with.
 
Last edited: