Magento white screen or how XML can break your site?

Source: Internet
Author: User
Magento white screen or how XML can break your site?

By Sando on 02. Oct, 2012 in magento, small tips

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 withCore library of magento.

Actually it turned out it's not that bad just I hadMalformed XML fileUnder 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?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.