[eluser]firebird[/eluser]
Thanks for your help, I am sure these two line of codes trigger the error, in config/template.php file
the configuration is as follows:
--------------------------------------
$template['active_group'] = 'default';
$template['default']['template'] = 'template.php';
$template['default']['regions'] = array(
'header',
'title',
'content',
'sidebar',
'footer',
);
$template['default']['parser'] = 'parser';
$template['default']['parser_method'] = 'parse';
$template['default']['parse_template'] = FALSE;
$template['default']['regions']['header'] = array('content' => array('<h1>CI Rocks!</h1>'));
$template['default']['regions']['footer'] = array('content' => array('<p id="copyright">@ Our Company Inc.</p>'));
-----------------------------------------------
I guess when the last two line assigning default content to header/footer regions, it complains that the header/footer regions has already
be defined earlier in this line of code(empty regions):
$template['default']['regions'] = array(
'header',
'title',
'content',
'sidebar',
'footer',
);
in my Page controller, I just call the render() method
$this->template->render();