Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/magento/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
正在清理system.log,但在magento中遇到问题_Magento - Fatal编程技术网

正在清理system.log,但在magento中遇到问题

正在清理system.log,但在magento中遇到问题,magento,Magento,我的日志中有一些错误,我很难识别。 另外,我对php/xml还不是很有经验,但我正在尽最大努力。我已经在谷歌上搜索了很多关于如何追踪错误的答案,但是运气不好 Warning: simplexml_load_string(): Entity: line 120: parser error : Premature end of data in tag layout line 29 in /var/www/site.com/../Update.php on line 432 及 据我所知,这可能是

我的日志中有一些错误,我很难识别。 另外,我对php/xml还不是很有经验,但我正在尽最大努力。我已经在谷歌上搜索了很多关于如何追踪错误的答案,但是运气不好

Warning: simplexml_load_string(): Entity: line 120: parser error : Premature end of data in tag layout line 29  in /var/www/site.com/../Update.php on line 432

据我所知,这可能是由于某个XML文件中的错误造成的?我已经看过很多了,但是运气不好。

我找到了一个不见了的

</reference> 

<customer_account>..</customer_account>  
。。
似乎已经解决了这个问题

我找到了一个丢失的

</reference> 

<customer_account>..</customer_account>  
。。

似乎已经解决了这个问题

您是否在xml文件中搜索了
customer\u account
?TBH,似乎是扩展名的更新文件导致了问题您是否在xml文件中搜索了
customer\u account
?TBH,看来是扩展名的更新文件引起了问题,下一次,“find”和“xmllint”(可以在基于apt的发行版上的libxml2 utils中找到)是您的朋友!find-type f-name'*.xml'-execxmllint--noout{}\@ThomasNielsen在哪个文件中?下次,“find”和“xmllint”(可以在基于apt的发行版上的libxml2 utils中找到)是您的朋友!find-type f-name'*.xml'-execxmllint--noout{}\@汤玛斯尼尔森在哪个档案里?