Profiler returns only its reports, but not acutal page

#1
[eluser]ministry[/eluser]
Hi all,
I just started using Profiler.
Well... its usage seems very simple but it simply doesn't work for me.

According to user guide, I placed
$this->output->enable_profiler(TRUE);

into the controller file at the beginning of the function I want to "monitorize" but... it replaces the whole content;
in other words it displays the report (db queries, get/post data, memory usage etc...) but not the actual content of the page (even in the html code).

This happens with ALL functions and ALL controlles of my application.
I tried to move the line into the view file, but nothing changes.

Obviousy I tried to delete cache, to change browser and so on.

If I disable it my site works correctly.

Please help! (and forgive my poor english!) Smile

p.s.: I'm using last CI version, 1.7.2

#2
[eluser]flaky[/eluser]
put the code here, so we can review it

#3
[eluser]ministry[/eluser]
That was my fault, so sorry Smile

I typed twice the </BODY> tag inside my template view. This messed up the Profiler results.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.