all of a sudden my page layout just completely broke! I was working on a file in app/design/frontend/mytheme/default/template/catalog/product/view/media.phtml But I don't think it should cause the entire layout of site to break. Also I re-uploaded a backup I made of that page and it didn't change the site back. Any ideas on how to troubleshoot this? in my error log it says

(): Entity: line 1: parser error : Start tag expected, '<' not found  in /www/sites/www.wishack.com/files/html/app/code/core/Mage/Core/Model/Layout/Update.php on line 444
2014-01-27T21:26:05+00:00 ERR (3): Warning: simplexml_load_string(): ye<?xml version="1.0" encoding="UTF-8"?>  in /www/sites/www.wishack.com/files/html/app/code/core/Mage/Core/Model/Layout/Update.php on line 444
2014-01-27T21:26:05+00:00 ERR (3): Warning: simplexml_load_string(): ^  in /www/sites/www.wishack.com/files/html/app/code/core/Mage/Core/Model/Layout/Update.php on line 444

I checked line 444 in that file and it looks normal...

Thanks for any help you can provide

  • 2
    Not sure why people are down voting, this is valid. I just ran into the same problem and this helped me.
    – SR_Magento
    Commented Apr 18, 2014 at 22:55
  • Parsing of broken code in layout file causes line 444 to throw an error. The error isn't in the reported line, but the input that area of code is trying to digest. In this case, the error stack trace is pretty specific at telling you what the input was, though, not what layout file is causing grief. On a *nix system, grep can nail this in one. Commented Jun 25, 2014 at 0:00

1 Answer 1


Look for an xml file that starts with

ye<?xml version="1.0"

It looks like you have one like this.

  • thank you!! I went though and was able to find that file, then clear cache and it's back to normal. Thank you again!
    – user4517
    Commented Jan 27, 2014 at 22:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.