Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Unkown Tag: cat_hits ????huh??

Quote Reply
Unkown Tag: cat_hits ????huh??
I have links installed and its working wonderfully other then the fact that if:
1. Your Search turns no results
2. You search for 1 letter
3. You have more then one word
4. allot more
When you click search it goes to a blank page that says "Unkown Tag: cat_hits" and nothing else.... Can anyone tell me why this would be?

Thanks
Quote Reply
Re: Unkown Tag: cat_hits ????huh?? In reply to
Make sure you have the following code in sub site_html_search_results (site_html_templates.pl):

Code:
print &load_template ('search_results.html', {
term => $term,
link_results => $link_results,
category_results => $category_results,
next => $next,
cat_hits => $cat_hits,
link_hits => $link_hits,
%in,
%globals
});

I hope this helps.
Quote Reply
Re: Unkown Tag: cat_hits ????huh?? In reply to
I re-uploaded that file still no luck.... help!
Quote Reply
Re: Unkown Tag: cat_hits ????huh?? In reply to
You reuploaded but is "cat_hits => $cat_hits," included in what you uploaded? If it is and you still get the error, then check the <%cat_hits%> in the template file to make sure it is spelled and puctuated correctly.
Quote Reply
Re: Unkown Tag: cat_hits ????huh?? In reply to
Ya it was there exacly as you said, word for word... I will check the template now and I will post what I find.
Quote Reply
Re: Unkown Tag: cat_hits ????huh?? In reply to
Problem solved I had put a Alt + 0160 in the place of a space. Thanks to everyone who helped me out :]