Magento white screen or how XML can break your site?

Malformed XML breaks MagentoI 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:
[cc lang=”text”]PHP Fatal error: Call to a member function extend() on a non-object in httpdocs/lib/Varien/Simplexml/Config.php on line 600p[/cc]
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.


Just a guy with strong interest in PHP and Web technologies

Tagged with: , , ,
2 comments on “Magento white screen or how XML can break your site?
  1. vag says:

    You saved my life. There was a file there that was causing the error.
    Really thanks!

  2. says:

    Remarkable issues here. I am very happy to see your post.
    Thank you a lot and I am looking forward to contact you.
    Will you please drop me a e-mail?

1 Pings/Trackbacks for "Magento white screen or how XML can break your site?"
  1. […] Here is a solution of error that I go: Broken local XML […]

Leave a Reply to Cancel reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.