1

I upgraded from 1.7 to 1.9.1.1 for the most part successfully. Only one thing: there are these characters showing at the top of every page on the frontend: ]>

Any idea what might be causing this? I cleared the cache, logged out and back in to admin, etc.

4
  • 2
    you forgot that text in a class file somewhere.
    – Marius
    Commented Jun 19, 2015 at 12:48
  • why would it show only after the upgrade, but not before? any idea on how to identify where it is in the code?
    – Isaac Y
    Commented Jun 19, 2015 at 12:51
  • runic ascii art, you have been hacked by norse nerds en.wikipedia.org/wiki/Thorn_(letter) Commented Jun 19, 2015 at 13:28
  • nicolalias , i'm not following...
    – Isaac Y
    Commented Jun 19, 2015 at 14:27

1 Answer 1

2

Invalid CDATA closing parameter maybe?

7
  • why would it show only after the upgrade, but not before? any idea on how to identify where it is in the code?
    – Isaac Y
    Commented Jun 19, 2015 at 12:53
  • It's difficult to say without seeing your source, some CDATA has been added to versions later than 1.7 such as Mage.Cookies.path. As it appears on every page, best place to look is in your head.phtml and header.phtml files.
    – Stefkay
    Commented Jun 19, 2015 at 12:59
  • Yes it seems to be coming from the head.phtml according to the template hints. It is not raw text in that file, I think it is being outputted from the command <?php echo $this->getCssJsHtml() ?> . Where does it pull the HTML for that ? Here is the bad text showing up on the frontend: "<!--[if <!--[if (gte IE 9) | (IEMobile)]><!-->]>"
    – Isaac Y
    Commented Jun 19, 2015 at 13:06
  • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post.
    – 7ochem
    Commented Jun 19, 2015 at 13:10
  • @IsaacY You should check your layout files, in your theme and the base theme. You probably have an xml tag like: <action method="addItem"><type>skin_js</type><name>js/ie6.js</name><params/><if>lt IE 7</if></action> that was written incorrectly.
    – Dan
    Commented Jun 19, 2015 at 13:15

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.