您的购物车内没有物品。
小计: US$ 0.00
18211562086
新海意公司
您的购物车内没有物品。
1、如果是apache服务器,可以在根目录.htaccess添加下面代码,nginx在php.ini中修改display_errors
php_flag display_errors on
php_value error_reporting 2047
2、找到/errors/local.xml.sample这个文件,改名成/errors/local.xml
3、接着找到lib/Zend/Cache/Backend/File.php文件,在里面查找 protected $_options = array( ’cache_dir’ => ‘null’,
替换成 protected $_options = array( ’cache_dir’ => ‘/tmp’,
4、在/index.php文件里把 error_reporting(E_ALL | E_STRICT) ;和ini_set(‘display_errors’, 1) ;注释取消
5、在/index.php文件加上Mage::setIsDeveloperMode(true)
打开lib/Varien/Db/Adapter/Pdo/Mysql.php文件
protected $_logAllQueries = true;
protected $_debug = true;
protected $_debugFile = 'var/debug/pdo_mysql.log';
You must be logged in to post a comment.
click here to log in