I did enabled the profiler at System->Configuration->Developer->Debug->Profiler and I commented out the line Varien_Profiler::enable(); inside the index.php file.

But when I refresh the page, the table at the bottom is displayed empty.
How can I fix this?

4 Answers 4


You need to enable the profiler output from System->Configuration->Developer->Debug->Profiler

  • I did enable Profiler function in System->Configuration->Developer->Debug->Profiler
    – JGeer
    Commented Jun 8, 2015 at 13:17
  • 1
    Check if it's disabled in store view scope.
    – Marius
    Commented Jun 8, 2015 at 13:18
  • Nope it is not, all are set to use default config. And I did changed it in default config. I only see empty tables right now.
    – JGeer
    Commented Jun 8, 2015 at 13:19
  • What magento version are you using?
    – Marius
    Commented Jun 8, 2015 at 13:20
  • 1
    How is this the answer if you already did this? im confused Commented Jul 12, 2017 at 12:56

Go to your /index.php and search for


In your case the line should be commented. Uncomment it and you should see the profiler's contents.

  • 3
    This post should be answer to the question ... Commented Oct 14, 2016 at 11:55

If you want to enable profiler, Here is the way

  1. Admin Dashboard >> System >> Configuration >> Developer >> Debug >> Profiler

  2. Open “index.php” file located at the MAGENTO_ROOT folder in editor and find the link of code #Varien_Profiler::enable();. Uncomment this line and save like below

    require_once $mageFilename;
    if (isset($_SERVER['MAGE_IS_DEVELOPER_MODE'])) {

Thats all, profiler has been enabled.

enter image description here

If you want to enable sql profiler, Here is the way

To enable sql profiling,

  1. you need to enable “Profiler” from admin
  2. Open the local.xml config file located in /app/etc/ folder and add the node <profiler>true</profiler>

Example :

   <initStatements><![CDATA[SET NAMES utf8]]></initStatements>

save the file and clear the cache.

enter image description here

  • sadly i have done all this and i still get no profiler data showing up on the frontend :\ Commented Jul 12, 2017 at 13:01
  • If i enable profile all the customers able to see the profiler right? how to enable profiler only for admin?@zed Blackbeard
    – zus
    Commented Feb 26, 2019 at 6:45

If you're working with a multilanguage Magento istallation or if you installed it in a subfolder make sure you've also uncommented


in the subfolder's index.php

otherwise you'll see an empty table when visiting that subfolder (i.e. www.mysite.com/en/)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.