Magento – Magento front end only printing “local.xml”

frontend

I went to do a test customer registration and right after I submitted form, the page only loads what you see below. I deleted cookies and loaded the main page, and it has what you see below as well. My coworker was messing with permissions as well, but we think we have all the permissions correct now. There are no errors in magento logs. The only error on server that may be applicable "client denied by server configuration: /var/www/Staging/public_html/app/etc/local.xml" but I know this is a common error and it's been there. Any ideas about what the issue is?

enter image description here

Best Answer

This is the result of an XML syntax error, usually in a layout XML file. Based on the update in your cross-post, there is an unclosed root tag.

The following command will tell you which file, though I think you already have your answer.

find ./app/design/frontend -type f -name '*.xml' -exec xmllint --noout {} \;
Related Topic