I noticed today that the word 'test' is appearing at the top of every page of our installation. I have searched the database for the word, plus all core files as best i could, but I haven't been able to find it. It appears towards the end of the <head> tag as follows:
<script type="text/javascript">//<![CDATA[ var Translator = new Translate([]); //]]></script>test
This is right before the link to the last stylesheet. Any ideas where I can look to track this down? I've looked in head.phtml but didn't see anything out of the ordinary there...
Solved! Go to Solution.
If you think it's coming through getIncludes() then check all scopes for this entry in the text boxes in System=>Configuration=>General=>Design=>HTML Head
Do you have ssh access?
From the root installation perform the following:
> grep -R "test" .
This will return every file with the text "test"
Good luck
SR
Try your template head.phtml file.
app/design/frontend/<theme>/<theme>/page/html/head.phtml
Near the bottom you should see the call that outputs the translator script code.
<?php echo $this->helper('core/js')->getTranslatorScript() ?>
My guess is someone has added "test" to the head file.
Yeah that was the first place I looked, but there's nothing there. However, I did see this immediately afterwards:
<?php echo $this->getIncludes() ?>
That did it chiefair! Thank you so much!!