我遇到了magento的问题。 问题是当我尝试访问时:其中一个类别 我收到以下错误:
处理您的请求时出错
出于安全原因,默认情况下禁用异常打印。
错误日志记录编号:996553057356
日志内容:
警告:simplexml_load_file()[function.simplexml-load-file]: /home/0/w202816/www/webshop/errors/local.xml:1:解析器错误: 文件是空的 第337行/home/0/w202816/www/webshop/errors/processor.php
警告:simplexml_load_file()[function.simplexml-load-file]:in 第337行/home/0/w202816/www/webshop/errors/processor.php
警告:simplexml_load_file()[function.simplexml-load-file]:^ in 第337行/home/0/w202816/www/webshop/errors/processor.php
警告:simplexml_load_file()[function.simplexml-load-file]: /home/0/w202816/www/webshop/errors/local.xml:1:解析器错误: 期望开始标记,'<'找不到 第337行/home/0/w202816/www/webshop/errors/processor.php
警告:simplexml_load_file()[function.simplexml-load-file]:in 第337行/home/0/w202816/www/webshop/errors/processor.php
警告:simplexml_load_file()[function.simplexml-load-file]:^ in 第337行/home/0/w202816/www/webshop/errors/processor.php
警告:无法修改标头信息 - 已发送的标头 (输出始于 /home/0/w202816/www/webshop/errors/processor.php:337)in 第360行/home/0/w202816/www/nwebshopikk/errors/processor.php
警告:无法修改标头信息 - 已发送的标头 (输出始于 /home/0/w202816/www/webshop/errors/processor.php:337)in 第361行/home/0/w202816/www/webshop/errors/processor.php
如何解决?
答案 0 :(得分:1)
您似乎缺少local.xml.sample或local.xml或其格式错误。
尝试找到一个香草magento安装并复制:
根/错误/ local.xml.sample
进入你的
根/错误/ local.xml.sample 要么 根/错误/那个local.xml 如果你想在客户端上呈现它们。