开启了开发者模式后,可以直接在页面上显示错误信息。 项目根目录/errors下的local.xml.sample 修改为local.xml 修改index.php 123456 if (isset($_SERVER['MAGE_IS_DEVELOPER_MODE'])) { Mage::setIsDeveloperMode(true);} 改为 12 Mage::setIsDeveloperMode(true);ini_set('display_errors', 1); 赞微海报分享
近期评论