Welcome Guest, Not a member yet? Register   Sign In
Fatal error
#1

[eluser]barun the michael[/eluser]
Fatal error: ob_start() [<a href='ref.outcontrol'>ref.outcontrol</a>]: Cannot use output buffering in output buffering display handlers in /backup/ldaphome/mahesh/system/libraries/Exceptions.php on line 160

Can any one help me.....
#2

[eluser]Sumon[/eluser]
Would you please paste some code of the function you try to access and get the error.
#3

[eluser]barun the michael[/eluser]
function index()
{
$this->load->model('suggest_model');

$data['suggestions'] = array();
$data['error_string'] = array();

$data['suggestions'] = $this->suggest_model->get_SuggestionData();

$this->assetlibpro->add_css('css/backend.css');

$this->output->enable_profiler(FALSE);

$header['title'] = 'Welcome to All Suggestions';

$this->load->view('header_view',$header);

$this->load->view('suggest_view',$data);

$this->load->view('footer_view');
}
#4

[eluser]Sumon[/eluser]
i thinkg, you don't forget to load assetlibpro. does it make any change?

controller
Code:
function index()
{
$this->load->model(’suggest_model’);

$data[’suggestions’] = array();
$data[’error_string’] = array();

$data[’suggestions’] = $this->suggest_model->get_SuggestionData();

$this->assetlibpro->add_css(’css/backend.css’);

$this->output->enable_profiler(FALSE);

$data['header'] = array('title'=> ‘Welcome to All Suggestions’);

$this->load->view(’suggest_view’,$data);
}

your view file suggest_view.php
Code:
$this->load->view(’header_view’,$header);

//here is suggest_view body
$this->load->view(’footer_view’);
#5

[eluser]forby[/eluser]
i'm getting the exact same error. It just happened, without me changing anything in the source code. anyone else find a solution? That doesn't seem to be my problem, Sumon.
#6

[eluser]Yash[/eluser]
Learn how to find errors and remove those.Taking help for each error will take whole life to build a simple app..just a joke

Some tips for debug

try to disable external libraries
check for proper syntax.
Don't mess system files fo CI..

debug line by line..I mean open file where error appears.Like in your case something is wrong happened when we try to load exception or similar..so try to disable library and then debug.




Theme © iAndrew 2016 - Forum software by © MyBB