CodeIgniter Forums

Full Version: Profilier doesn't display when enabled
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]GeXus[/eluser]
For some reason when I enable the profilier it doesn't show anything on the page. It used to, but now for some reason it doesn't.

I'm just adding
Code:
$this->output->enable_profiler(true);
to my controller.

Any ideas? Thanks!

El Forum

[eluser]Clooner[/eluser]
It sounds to me like a error in your code.

Enable PHP Error display in your index.php
Code:
error_reporting(E_ALL);
ini_set('display_errors', 1);
Make sure to turn this of in the live version!

El Forum

[eluser]verynewtothis[/eluser]
I am with clooner but just for the confirmation, was it placed at a location (or logic) that is getting executed?

For example this will not display profiler information:
Code:
if (1==0):
    $this->output->enable_profiler(true);
endif;