Skip to main content
2 of 2
Corrected Title.
Ian Pitts
  • 563
  • 2
  • 10

Database Queries in Output Profiler Won't Display

With template debugging enabled, clicking the "show" link to display the database queries isn't working.

I suspect this is related to the fact that on all pages of this site there are 7 chunks of content loaded via XHR that pass through the template parser. Because of that, the same ID ci_profiler_queries_db_1 is used 7 times. Since the code used to show/hide the queries relies on getElementByID, it's unable to determine which of the identical IDs is the intended one.

Is there a solution short of waiting on a core rewrite to use classes and more advanced js?

Ian Pitts
  • 563
  • 2
  • 10