Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enable Magento Varien_Profiler in admin area

How do I enable Magento Profiler in the admin area?

I've set the admin option, added Varien_Profiler::enable(); before Mage::run($mageRunCode, $mageRunType); and cleared cache, but the profiler results only show in frontend?

Am I missing something else?

like image 248
Radu Avatar asked Jun 25 '12 09:06

Radu


1 Answers

Check that profiler is enabled as well in the default configuration scope in System > Configuration > Developer and that Developer IP Restrictions are empty or configured correctly.

Edit: Based on this being the accepted answer, it's worth nothing that the "default scope" in the system configuration will store values against the store scope ID of 0, which is the store scope which the admin areas uses.

like image 61
benmarks Avatar answered Sep 21 '22 12:09

benmarks