Magento错误日志记录文件未在`/ var / report`下创建

时间:2015-07-16 06:39:15

标签: magento error-log

创建的错误日志记录编号未在var/report下找到,我无法访问后端。

`Exception printing is disabled by default for security reasons.

Error log record number: 148013902355`

我该如何解决这个问题?

我无法读取它在特定日志编号上打印的错误。它已删除服务器并显示在后端mysite.com/admin

更新:我可以看到错误(允许developeromode并启用root / index.php文件中显示错误)

//if (isset($_SERVER['MAGE_IS_DEVELOPER_MODE'])) {
    Mage::setIsDeveloperMode(true);  //and allowing this
//}

ini_set('display_errors', 1);  //commenting this

1 个答案:

答案 0 :(得分:1)

要在magento根目录的Errors文件夹中将浏览器重命名为app.service("storeContact", function(){ var contacts = []; this.setContact = function(cnt){ contacts.push(cnt) }; this.getContact = function(){ return contacts; } }); local.xml.sample,请详细查看错误。另请检查local.xml错误文件的可写权限。