首页 > 其他 > 详细

Magento white screen or how XML can break your site?

时间:2014-10-19 21:12:48      阅读:277      评论:0      收藏:0      [点我收藏+]

Magento white screen or how XML can break your site?

bubuko.com,布布扣I had an odd white screen on one of my websites. No exceptions, no messages, it was time to check the error log.

There I found the following error:

PHP Fatal error:  Call to a member function extend() on a non-object in httpdocs/lib/Varien/Simplexml/Config.php on line 600

That looked very scary like there was some mess with the core library of Magento.

Actually it turned out it’s not that bad just I had a malformed XML file under my “app/etc/modules/” directory.

Removed the file, you might need to use a bit of a trail and error here, and all worked as a charm.

Also make sure that you have there only XML files with “.xml” extension.

Magento white screen or how XML can break your site?

原文:http://www.cnblogs.com/sunsoftware/p/4035440.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!