- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: The word 'test' mysteriously appears at the top of every page
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: The word 'test' mysteriously appears at the top of every page
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: The word 'test' mysteriously appears at the top of every page
Yeah that was the first place I looked, but there's nothing there. However, I did see this immediately afterwards:
<?php echo $this->getIncludes() ?>
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: The word 'test' mysteriously appears at the top of every page
That did it chiefair! Thank you so much!!