sorry forgot to mention its the search engine templates. I copied a global text file from another set of templates and it seemed to have fixed this error i was having.
Thanks for pointing out that the global file was involved.
Thanks for pointing out that the global file was involved.