CodeIgniter Forums
Profiler returns only its reports, but not acutal page - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: Profiler returns only its reports, but not acutal page (/thread-26382.html)



Profiler returns only its reports, but not acutal page - El Forum - 01-12-2010

[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


Profiler returns only its reports, but not acutal page - El Forum - 01-12-2010

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


Profiler returns only its reports, but not acutal page - El Forum - 01-13-2010

[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.