cancel
Showing results for 
Search instead for 
Did you mean: 

The word 'test' mysteriously appears at the top of every page

SOLVED

The word 'test' mysteriously appears at the top of every page

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...

1 ACCEPTED SOLUTION

Accepted Solutions

Re: The word 'test' mysteriously appears at the top of every page

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

View solution in original post

5 REPLIES 5

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

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.

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() ?>

Re: The word 'test' mysteriously appears at the top of every page

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

Re: The word 'test' mysteriously appears at the top of every page

That did it chiefair! Thank you so much!!