moffee's blog

让magento显示错误提示

1.进入/errors 文件夹
2.把 local.xml.sample 改名为 local.xml
3.打开 /lib/Zend/Cache/Backend/File.php

找到

protected $_options = array(
‘cache_dir’ => ‘null’,

改为

protected $_options = array(
‘cache_dir’ => ‘tmp/’,

4.在magento的根目录建立一个tmp文件夹

评论列表

 
  1. 还没有任何评论,你来说两句吧

 

发表评论

 
  • 发表评论