Main Menu

Expression Web

Tutorials

BlueHost Tutorials



Eric Meyer's CSS Sculptor for Expression Web
Sale Extended thru July 5th


BlueHost.
Sign Up for BlueHost.com

Microsoft MVP Logo.

Validating FrontLook Site Search Engine (FLSSE) for Expression Web

Download and install the FrontLook Site Search Engine for Expression Web.  This is a commercial product and not yet EW2 compatible

Create FrontLook Site Search per instructions and publish all files to the server.

When I try and publish via Expression Web's FTP facility, I receive two error messages

Screenshot FrontLook SSE error message.

Screenshot FrontLook SSE Error Message.

I clicked OK and the process continued.

Open the search.php.htm | Validate

Important Warnings -

No Character Encoding Found! Falling back to UTF-8.

Unable to Determine Parse Mode!

No DOCTYPE found! Attempting validation with HTML 4.01 Transitional.

Seven errors found -

Error 1

no document type declaration; implying "<!DOCTYPE HTML SYSTEM>"

Error 2

syntax of attribute value does not conform to declared value.
<META http-equiv="" CONTENT="0;URL=search.php">

Error 3

required attribute "TYPE" not specified.
<script>

Error 4

required attribute "ACTION" not specified.
<form name="Search" method="post">

Error 5

end tag for "SELECT" which is not finished.
      </select>

Error 6

there is no attribute "HEIGHT".
</table><table width="80%" cellpadding="20" height="50">

Error 7

required attribute "ALT" not specified.
..../images/flssepower88.gif" border="0"></a></td></tr>

Saved file as original-search.php.htm

Step 1 - Removed the following lines. While they cause no errors, they are not needed.

<meta name="GENERATOR" content="Microsoft FrontPage 12.0">
<meta name="ProgId" content="FrontPage.Editor.Document">

Step 2 - Added valid doctype statement. While the site itself uses XHTML coding, the use of that doctype causes many additional errors so I'll use

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

as well as

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Language" content="en-us">

Published file and validated again  - Six errors found (same as listed above except #1)
Saved file as revision1-search.php.htm


Step 3 - Saved search.php as original-search.php for safekeeping

changed

<script>

to

<script type="text/script"> 
Publish File | Five errors | #3 Fixed

Step 4 - Removed

 height="50" Added alt tag to FL image

Publish File | Validate again | Three errors #6 Fixed #7 Fixed

Step 5 - The search.php file now has three errors that need to be fixed - they are

  • syntax of attribute value does not conform to declared value .
<META http-equiv="" CONTENT="0;URL=search.php">
  • required attribute "ACTION" not specified .
<form name="Search" method="post">
  • end tag for "SELECT" which is not finished .
      </select>

Changed

action="search.php"
to statement
<form name="Search" action="search.php" method="post">

Publish | Revalidate | Only two errors now | Hooray

The meta equivalent statement actually contains "refresh" when the file is uploaded but it is being stripped out. Maybe something from the search.php file??

Don't know enough about php to figure out the </select> tag problem.

Search Page