Posts tagged Template Error

Template Error: The template file must be given.

If you are getting the above  error while accessing your  site , it  means your  domain  entry  is missing in the “Apache  ConfigurationFile”
(httpd.conf) .

You just   need to add the  entry  for your domain  in the httpd.conf file

ex :

[email protected][#] vi  /etc/httpd/conf/httpd.conf

DocumentRoot /home/username/public_html/
ServerAdmin [email protected]
UseCanonicalName Off
CustomLog /usr/local/apache/domlogs/ combined
CustomLog /usr/local/apache/domlogs/
ScriptAlias /cgi-bin/ /home/username/public_html//cgi-bin/
Include “/usr/local/apache/conf/userdata/std/2/*.conf”

Note : Replace  to  your  domain.

That’s  all  this  will  do it.