好的,所以我只是换了一个新客户端的主题,除搜索功能外,一切正常。无论搜索什么,结果页面都会出现白屏。
我做了一些谷歌搜索并找到了一个片段添加到文件中以帮助显示有问题的文件,但无法确定它。
我清除了system.log文件并重新创建了错误,因此我可以看到整个过程,这就是创建的内容(见下文)
我完全被这个难过了。任何帮助将不胜感激。
我在这里看到的唯一错误是: 错误(3):警告:simplexml_load_string()[function.simplexml-load-string]:实体:第136行:解析器错误:注释未终止 &lt ;! - 我的应用程序 < customer_account> < r in /chroot /home/example.com/html/app/code/core/Mage/Core/Model/Layout/Update.php,444行
...但我不知道在哪里寻找这个,因为第444行的Update.php没有任何用处。
2015-03-16T12:02:59+00:00 DEBUG (7): <config/>
2015-03-16T12:03:00+00:00 DEBUG (7): <?xml version="1.0"?><jstranslator></jstranslator>
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/core.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/page.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/directory.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/cms.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/customer.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/blacknwhite/default/layout/catalog.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/catalog_msrp.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/blacknwhite/default/layout/catalogsearch.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/payment.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/sales.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/sales/billing_agreement.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/sales/recurring_profile.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/cataloginventory.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/shipping.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/checkout.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/paypal.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/poll.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/review.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/reports.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/googleanalytics.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/paypaluk.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/contacts.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/sendfriend.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/rss.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/productalert.xml
2015-03-16T12:03:00+00:00 ERR (3): Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: Entity: line 136: parser error : Comment not terminated
<!-- My Applications
<customer_account>
<r in /chroot/home/example.com/html/app/code/core/Mage/Core/Model/Layout/Update.php on line 444
2015-03-16T12:03:00+00:00 ERR (3): Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: <!-- EOF My Applications--> in /chroot/home/example.com/html/app/code/core/Mage/Core/Model/Layout/Update.php on line 444
2015-03-16T12:03:00+00:00 ERR (3): Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: ^ in /chroot/home/example.com/html/app/code/core/Mage/Core/Model/Layout/Update.php on line 444
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/oauth.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/authorizenet.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/bundle.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/captcha.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/centinel.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/newsletter.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/pagecache.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/persistent.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/weee.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/xmlconnect.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/ebizmarts/abandonedcart.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/ebizmarts/autoresponder.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/magemonkey.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/iwd_all.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/iwd_opc.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/storelocator.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/blacknwhite/default/layout/slider.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/blacknwhite/default/layout/meigee/widgetoptions.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/mst_rma.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/contactsformcaptcha.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/moneybookers.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/strategery-infinitescroll.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/blacknwhite/default/layout/ajax.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/webforms.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/base/default/layout/webformscrf.xml
2015-03-16T12:03:00+00:00 DEBUG (7): /chroot/home/example.com/html/app/design/frontend/blacknwhite/default/layout/local.xml
2015-03-16T12:03:02+00:00 DEBUG (7): <?xml version="1.0"?><widgets></widgets>
2015-03-16T12:03:02+00:00 DEBUG (7): <?xml version="1.0"?><widgets></widgets>
答案 0 :(得分:0)
因此,查看您的错误消息时,布局文件productalert.xml
似乎有一些xml错误。它似乎有一个评论已经打开但之后没有关闭。