When i search for anything from the search form, i get an error "Unknown Tag: Cat" Why do i get this? It was working fine, it just started all of a sudden.
May 26, 2000, 11:19 PM
New User (4 posts)
May 26, 2000, 11:19 PM
Post #3 of 6
Views: 2799
Thanks for your reply elliot.
I am assuming your speaking of the search.html template. I have checked it and all tags appear correct. I also checked the home, category, search results, and search error templates. Also, i made sure each of those type tags were on its own line. Is this what you were referring to? is there anything else it could be. I am still receiving the Unknown Tag: Category error.
I am assuming your speaking of the search.html template. I have checked it and all tags appear correct. I also checked the home, category, search results, and search error templates. Also, i made sure each of those type tags were on its own line. Is this what you were referring to? is there anything else it could be. I am still receiving the Unknown Tag: Category error.
May 26, 2000, 11:41 PM
Veteran (17240 posts)
May 26, 2000, 11:41 PM
Post #4 of 6
Views: 2787
Welp...you still have the Category tag in your search.html TEMPLATE FILE! Because that is what the error is telling you. Check the file completely!!
And if it is in your search results you are getting the error...
You need to use < % category_results%> (without the spaces).
Trust me...you have Category in one of your search TEMPLATE files!
Regards,
Regards,
Eliot Lee
And if it is in your search results you are getting the error...
You need to use < % category_results%> (without the spaces).
Trust me...you have Category in one of your search TEMPLATE files!
Regards,
Regards,
Eliot Lee
May 27, 2000, 12:24 AM
New User (4 posts)
May 27, 2000, 12:24 AM
Post #5 of 6
Views: 2785
ok, after trying a search on the advanced search page, it worked. The problem was with the small search boxes on the home and category pages. I have studied the old templates as well as the new ones, and found the problem. here is the new template search form < has been changed to ( so it would show properly:
(form ACTION="<% db_cgi_url%>/search.cgi" METHOD="POST">
(input TYPE="text" NAME="query2" SIZE="30">
(input TYPE="submit" NAME="Submit2" VALUE="Search">
(/form>
It seems dreamweaver changed the query and submit and added a 2 on them. I have taken the 2 off and it is working.
(form ACTION="<% db_cgi_url%>/search.cgi" METHOD="POST">
(input TYPE="text" NAME="query2" SIZE="30">
(input TYPE="submit" NAME="Submit2" VALUE="Search">
(/form>
It seems dreamweaver changed the query and submit and added a 2 on them. I have taken the 2 off and it is working.
May 27, 2000, 1:49 AM
Veteran (17240 posts)
May 27, 2000, 1:49 AM
Post #6 of 6
Views: 2785
But, glad you figured it out.
Regards,
Eliot Lee