Search Error

  • Thread starter Thread starter JCO
  • Start date Start date
JCO,

Sorry, at some point I think I provided you with a sample layout or something that contain some ASP
code, and you used that to make your page.

In order to use any of the FP component, the page can not contain any server-side scripting.

You need to remove the following items:

<%
Dim DateNow1
DateNow1 = Date
CYear1 = Year(DateNow1)
%>

<%=CYear1%>


Also the following may also cause a problem:

<!-- ZoneLabs Privacy Insertion -->
<script language='javascript' src='http://127.0.0.1:1362/js.cgi?pcaw&r=491'></script>

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
I have been wondering what that was, but I'm not sure I got that from you.
I assumed it was one of the legacy items in this website that I was cleaning
out.

At any rate, I'm cleaning that code out and will republished.

Thomas A. Rowe said:
JCO,

Sorry, at some point I think I provided you with a sample layout or
something that contain some ASP
 
Maybe I did get a sample page from you. At any rate, it has been deleted.
It still does not make a difference in my web search. I do have a couple of
other folders, with in this website that contains another index.html. Can
that have something to do with it? I have not made these into subwebs, they
are simply additional folders with an index.html in them ... for other
purposes.

Thanks so far

Thomas A. Rowe said:
JCO,

Sorry, at some point I think I provided you with a sample layout or
something that contain some ASP
 
I added a search page, that has the search form and it works fine. I have
this hidden from the outside world right now but it does work. This was
done by adding a page as shown File | New Page | More Templates.

Why does this work and the component insertion does not?
 
Your page still has the following items:

<meta name="copyright" content="Copyright © 1999 - <%=CYear1%> ">

<!-- ZoneLabs Privacy Insertion -->
<script language='javascript' src='http://127.0.0.1:1362/js.cgi?pcaw&r=491'></script>

Also try creating a brand new page, with just the search component and see if it works.
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
A separate page does work. But I want to get this to work on the homepage.
I removed the other stuff you noted. Now I don't get the error, but I don't
get a search results back either. I'm to tired right now.

Look forward to your response in the morning. May have to remove / and put
the component back on again... I suppose that may do something.
 
Actually it is working. Thanks for all your help.
My question now is this. I have several sub folders that contain an
index.html. I don't want the search to find this stuff. If I convert these
to a subweb, will it prevent the search from finding it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top