Magento is displaying the MySQL query and a stack trace on catalog pages.
I can't figure out where it's coming from. DB queries should not be displaying on the frontend, for security reasons.
Do you have any idea how I can turn this off?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityEdit/create errors/local.xml and change action from "print" to "none".
Check your index.php
, is Mage::setIsDeveloperMode(true);
reachable in any way? Try commenting it out.
if(isset($_SERVER['MAGE_IS_DEVELOPER_MODE'])) { Mage::setIsDeveloperMode(true); }
in index.php. Does that make sense?
Jun 29, 2013 at 10:00
Mage::setIsDeveloperMode(true);
out and see if you still get stack traces. Also try @Joe's answer as that could be the solution.
Jun 30, 2013 at 8:01