magento 开发模式 Configuring Magento for Development / Debug Mode

Configuring Magento for Development / Debug Mode:

1. Disable Cache
System > Cache Management > Select All [check-boxes] > Actions = Disable > Submit

 

2. Re-Index All
System > Index Management > Select All [check-boxes] > Actions = Reindex Data > Submit

 

3. Disable Compilation
System > Tools > Compilation > Disable

Note : By default compilation mode is disabled. So just check if the Compiler Status is Enabled or not.

 

4. Turn on Error Reporting
a> Open index.php and un-comment the following line

#ini_set('display_errors', 1);

 

b> Open .htaccess and add the following line at the end

SetEnv MAGE_IS_DEVELOPER_MODE "true"

 

5. Turn on Logging
System > Configuration > Advanced > Developer > Log Settings > Enabled => Yes

 

6. Configuring Mangeto Error Page
rename errors/local.xml.sample to errors/local.xml

 

7. Install ‘Easy Template Path Hints’
Install Easy Template Path Hints for turning on/off the template path hints for frontend and backend easily & securely.

 

That’s all. Let me know for any missing points.
Happy Debugging!

 

来源:http://www.blog.magepsycho.com/configuring-magento-for-development-debug-mode/

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值