[eluser]Unknown[/eluser]
Hi,
i am trying to modify my error_general.php file which is located at application/errors folder. I want to use my own template on the error page, so i tried to do something like this;
Code:
<?php $this->load->view('main/sol')?>
<h1 class="pagetitle"><?php echo $heading?></h1>
<div class="column1">
<div class="clean-gray">
<?php echo $message?>
</div>
</div>
<?php $this->load->view('main/sag')?>
didnt work as i guess

then i tried to get instance of CI like this;
Code:
<?php $CI =& get_instance();
$CI->load->view('main/sol')?>
<h1 class="pagetitle"><?php echo $heading?></h1>
<div class="column1">
<div class="clean-gray">
<?php echo $message?>
</div>
</div>
<?php $CI->load->view('main/sag')?>
But still, i am getting a PHP Error that says;
Quote:A PHP Error was encountered
Severity: Notice
Message: ob_end_clean() [ref.outcontrol]: failed to delete buffer. No buffer to delete.
Filename: libraries/Exceptions.php
Line Number: 129
any suggestions?