Custom Joomla Template error: '500 - Unable to load renderer class'


i am trying to create a joomla template for my existing static website. I have also created an anatomy for the template. But, when i tried to open the website , keeping the template as default, it shows the following error:
'500 - Unable to load renderer class'

The code being used by me is:

defined('_JEXEC') or die('Restricted access');

<?php '<?xml version="1.0" encoding="utf-8"?>'; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="" xml:lang="<?php echo $this->language;?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >

<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/gauri/css/template.css" type="text/css" />

<div id="container">
<div id="header">

	&lt;div id="logo"&gt;&lt;a href="&lt;?php echo $this-&gt;baseurl ?&gt;"&gt;
		&lt;img src="&lt;?php echo $this-&gt;baseurl ?&gt;templates/gauri/images/logo.png"  alt="Gauri Logo" border="0" /&gt;&lt;/a&gt;
    &lt;/div&gt;&lt;!-- /logo --&gt;

	&lt;div id="header-menu"&gt;
    	&lt;jdoc:include type="modules" name="header-menu" /&gt;
    &lt;/div&gt;&lt;!-- /header-menu --&gt;

&lt;/div&gt;&lt;!-- /header --&gt;

&lt;div id="main-menu"&gt;
	&lt;jdoc:include type="modules" name="main-menu" /&gt;
&lt;/div&gt;&lt;!-- /main-menu --&gt;

&lt;div id="maincontent"&gt;
		&lt;?php if ($this-&gt;countModules('transition')) : ?&gt;
			&lt;div id="transition"&gt;
					&lt;jdoc:include type="modules" name="transition" /&gt;
		 	&lt;/div&gt;&lt;!-- /transition --&gt;
		&lt;?php endif; ?&gt;

		&lt;?php if ($this-&gt;getBuffer('index-content')) : ?&gt;
			&lt;div id="index-content"&gt;
					&lt;jdoc:include type="index-content" /&gt;
			&lt;/div&gt;&lt;!-- /index-content--&gt;
		&lt;?php endif; ?&gt;
					&lt;jdoc:include type="component" /&gt;

		&lt;?php if ($this-&gt;countModules('content')) : ?&gt;
			&lt;div id="bottom"&gt;
					&lt;jdoc:include type="modules" name="content" style="xhtml" /&gt;
			&lt;/div&gt;&lt;!-- /content --&gt;
		&lt;?php endif; ?&gt;
  &lt;/div&gt;&lt;!-- /maincontent--&gt;	

  &lt;div id="right"&gt;
		 &lt;?php if ($this-&gt;countModules('right-menu')) : ?&gt;
				&lt;div id="sidebar1"&gt;
					&lt;jdoc:include type="modules" name="right-menu" style="xhtml" /&gt;
				&lt;/div&gt;&lt;!-- /sidebar --&gt;
		 &lt;?php endif; ?&gt;

		 &lt;?php if ($this-&gt;countModules('reach')) : ?&gt;
				&lt;div id="sidebar2"&gt;
					&lt;jdoc:include type="modules" name="reach" style="xhtml" /&gt;
				&lt;/div&gt;&lt;!-- /reach --&gt;
		&lt;?php endif; ?&gt;
	&lt;div id="footer"&gt;
			&lt;jdoc:include type="modules" name="footer" /&gt;
	&lt;/div&gt;&lt;!-- /footer --&gt;

</div><!-- /container -->



archived #2