no matter what page I try to browse I keep getting this error everytime. There are no cfincludes in this page or any of the others. Here is the code followed by the error:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!---
<html>
<head>
<title>Map</title>
</head>
<script language="javascript">
function form_submit(do_action)
{
this.document.the_form.do_action.value=do_action;
this.document.the_form.submit();
}
</SCRIPT>
<style type="text/css">
<!--
a { font-family:Arial, Helvetica, sans-serif; font-size: 12pt; font-style: normal; color: #77F0B6; text-decoration: none}
a:active { font-family:Arial, Helvetica, sans-serif; font-size: 12pt; font-style: normal; color: #FF0000; text-decoration: none}
a:link { font-family:Arial, Helvetica, sans-serif; font-size: 12pt; font-style: normal; color: #77F0B6; text-decoration: none}
a:visited { font-family:Arial, Helvetica, sans-serif; font-size: 12pt; font-style: normal; color: #77F0B6; text-decoration: none}
a:hover { font-family:Arial, Helvetica, sans-serif; font-size: 12pt; font-style: normal; color: #FF0000; text-decoration: underline}
-->
</style>
<center>
<table>
<tr>
<td align="center">
<font face="Arial,Helvetica,sans-serif" size="5" color="666666">
Welcome to BassTech's <b><i>BTMapBlaster</i></b> Demo<br><br>
</font>
</td>
</tr>
</table>
</center>
<body background="../images/main_bkg.gif">
<cfset DontShow="F">
<!--- <cfset DefStreetAddr = "2104 Hallock Street">
<cfset DefCityState = "11710"> --->
<cfset DefStreetAddr = "">
<cfset DefCityState = "26123">
<cfif isDefined("URL.MapType">
<cfset sMapType = "#URL.MapType#">
<cfelse>
<cfif Not isDefined("FORM.MapType">
<cfset sMapType = "MAP">
<cfelse>
<cfset sMapType = "#FORM.MapType#">
</cfif>
</cfif>
<cfif isdefined("FORM.do_action" and FORM.do_action eq "Submit">
<cfswitch expression="#sMapType#">
<cfcase value="MAP">
<CF_BTMapBlaster
MapType="#FORM.MapType#"
location_from="#FORM.AD2_street_1#"
zippostal_from="#FORM.AD3_1#"
country_from="#FORM.AD4_1#"
ZoomFactor=#FORM.ZoomFactor#>
</cfcase>
<cfdefaultcase>
<CF_BTMapBlaster
MapType="#FORM.MapType#"
location_from="#FORM.AD2_street_1#"
zippostal_from="#FORM.AD3_1#"
country_from="#FORM.AD4_1#"
location_to="#FORM.AD2_street_2#"
zippostal_to="#FORM.AD3_2#"
country_to="#FORM.AD4_2#">
</cfdefaultcase>
</cfswitch>
<cfset DontShow="T">
<cfoutput>
<cfswitch expression="#FORM.MapType#">
<cfcase value="MAP">
Variables returned:<br>
<b>MapImageURL</b><br><br>
<div align="center">
#mapimageURL#
</div>
</cfcase>
<cfcase value="STANDARD">
Variables returned:<br>
<b>MapURL</b><br>
<b>TotalDrivingTimeString</b><br>
<b>Directions</b><br><br>
<div align="center">
<h1>Driving Directions Results</h1><br><br>
#Maps#<br><br>
Approximate Travel Time: <b>#TotalDrivingTimeString#</b><br><br>
#Directions#
</div>
</cfcase>
</cfswitch>
</cfoutput>
<br><br>
<center>
Click <a href="map.cfm?MapType=<cfoutput>#FORM.MapType#</cfoutput>">here</a> to generate a new Map!
</center>
</cfif>
<form action="map.cfm" name="the_form" method="post">
<input type="hidden" name="do_action" value="Continue">
<center>
<table border="1">
<cfif DontShow eq "F">
<tr>
<td valign="top" align="center">
Map <cfif sMapType eq "STANDARD"><b>Driving Direction</b><cfelse><b>Map</b></cfif> Attributes<br>
<table>
<tr>
<td>
Map Type:<br>
<select name="MapType" onChange="javascriptnClick=form_submit('search');">
<option value="MAP" <cfif sMapType eq "MAP">SELECTED</cfif>> Map
<option value="STANDARD" <cfif sMapType eq "STANDARD">SELECTED</cfif>> Driving Directions
</select>
</td>
<cfif sMapType eq "MAP">
<td>
Zoom Factor:<br>
<select name="ZoomFactor">
<option value="1"> 1000 Miles
<option value="2"> 300 Miles
<option value="3"> 100 Miles
<option value="4"> 40 Miles
<option value="5"> 10 Miles
<option value="6"> 4 Miles
<option value="7" SELECTED> 1 Mile
<option value="8"> 1800 feet
<option value="9"> 900 feet
<option value="10"> 300 feet
</select>
</td>
<cfelse>
<td> </td>
</cfif>
</tr>
<cfif sMapType eq "MAP">
<tr><td colspan=2> </td></tr>
<tr><td colspan=2><b>Location From:</b></td></tr>
<tr><td><input type="text" name="AD2_street_1" value="<cfoutput>#DefStreetAddr#</cfoutput>" size=25 maxlength=40></td><td>- Street</td></tr>
<tr><td><input type="text" name="AD3_1" size=25 value="<cfoutput>#DefCityState#</cfoutput>" maxlength=40></td><td>- City, State [or Zip]</td></tr>
<tr>
<td>
<select name="AD4_1">
<option value="fr">France
<option value="uk">United Kingdom
<option value="de" SELECTED>Germany
<option value="it">Italy
<option value="es">Spain
<option value="us" >US
<option value="ca">Canada
</select>
<!--- <select name="AD4_1">
<option value="us"> United States
<option value="ca"> Canada
</select> --->
</td>
<td>- Country</td>
</tr>
<cfelse>
<tr><td colspan=2> </td></tr>
<tr><td colspan=2><b>Location From:</b></td></tr>
<tr><td><input type="text" name="AD2_street_1" value="14214 Plum Run Way" size=25 maxlength=40></td><td>- Street</td></tr>
<tr><td><input type="text" name="AD3_1" size=25 value="20906" maxlength=40></td><td>- City, State [or Zip]</td></tr>
<tr>
<td>
<select name="AD4_1">
<option value="us" SELECTED> United States
<option value="ca"> Canada
</select>
</td>
<td>- Country</td>
</tr>
<tr><td colspan=2> </td></tr><br>
<tr><td colspan=2><b>Location To:</b></td></tr>
<tr><td><input type="text" name="AD2_street_2" value="8075 Leesburg Pike" size=25 maxlength=40></td><td>- Street</td></tr>
<tr><td><input type="text" name="AD3_2" size=25 value="22182" maxlength=40></td><td>- City, State [or Zip]</td></tr>
<tr>
<td>
<select name="AD4_2">
<option value="us" SELECTED> United States
<option value="ca"> Canada
</select>
</td>
<td>- Country</td>
</tr>
</cfif>
<tr>
<td colspan="2" align=center>
<br><br>
<input type="button" onclick="javascriptnClick=form_submit('Submit');" value="Generate">
</td>
</tr>
</table>
</td>
</tr>
</cfif>
</table>
<br><br>
<table width="100%">
<tr>
<td align="center">
<br>
<hr>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<font face="Arial,Helvetica,sans-serif" size="2" color="666666">
This page has been accessed <CF_Counter Start="1"> times since 6/4/2001.
</font>
</td>
</tr>
</table>
</center>
</form>
</body>
</html>
and the error:
Error Diagnostic Information
Template file not found.
HTTP/1.0 404 Object Not Found
Note: If you wish to use an absolute template path (e.g. TEMPLATE="/mypath/index.cfm" with CFINCLUDE then you must create a mapping for the path using the ColdFusion Administrator.
Using relative paths (e.g. TEMPLATE="index.cfm" or TEMPLATE="../index.cfm" does not require the creation of any special mappings. It is therefore recommended that you use relative paths with CFINCLUDE whenever possible.
The error occurred while processing an element with a general identifier of (CFINCLUDE), occupying document position (4:1) to (4:56).
Date/Time: 07/11/03 13:02:11
Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Remote Address: 192.168.254.48
Template: C:\Inetpub\
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!---
<html>
<head>
<title>Map</title>
</head>
<script language="javascript">
function form_submit(do_action)
{
this.document.the_form.do_action.value=do_action;
this.document.the_form.submit();
}
</SCRIPT>
<style type="text/css">
<!--
a { font-family:Arial, Helvetica, sans-serif; font-size: 12pt; font-style: normal; color: #77F0B6; text-decoration: none}
a:active { font-family:Arial, Helvetica, sans-serif; font-size: 12pt; font-style: normal; color: #FF0000; text-decoration: none}
a:link { font-family:Arial, Helvetica, sans-serif; font-size: 12pt; font-style: normal; color: #77F0B6; text-decoration: none}
a:visited { font-family:Arial, Helvetica, sans-serif; font-size: 12pt; font-style: normal; color: #77F0B6; text-decoration: none}
a:hover { font-family:Arial, Helvetica, sans-serif; font-size: 12pt; font-style: normal; color: #FF0000; text-decoration: underline}
-->
</style>
<center>
<table>
<tr>
<td align="center">
<font face="Arial,Helvetica,sans-serif" size="5" color="666666">
Welcome to BassTech's <b><i>BTMapBlaster</i></b> Demo<br><br>
</font>
</td>
</tr>
</table>
</center>
<body background="../images/main_bkg.gif">
<cfset DontShow="F">
<!--- <cfset DefStreetAddr = "2104 Hallock Street">
<cfset DefCityState = "11710"> --->
<cfset DefStreetAddr = "">
<cfset DefCityState = "26123">
<cfif isDefined("URL.MapType">
<cfset sMapType = "#URL.MapType#">
<cfelse>
<cfif Not isDefined("FORM.MapType">
<cfset sMapType = "MAP">
<cfelse>
<cfset sMapType = "#FORM.MapType#">
</cfif>
</cfif>
<cfif isdefined("FORM.do_action" and FORM.do_action eq "Submit">
<cfswitch expression="#sMapType#">
<cfcase value="MAP">
<CF_BTMapBlaster
MapType="#FORM.MapType#"
location_from="#FORM.AD2_street_1#"
zippostal_from="#FORM.AD3_1#"
country_from="#FORM.AD4_1#"
ZoomFactor=#FORM.ZoomFactor#>
</cfcase>
<cfdefaultcase>
<CF_BTMapBlaster
MapType="#FORM.MapType#"
location_from="#FORM.AD2_street_1#"
zippostal_from="#FORM.AD3_1#"
country_from="#FORM.AD4_1#"
location_to="#FORM.AD2_street_2#"
zippostal_to="#FORM.AD3_2#"
country_to="#FORM.AD4_2#">
</cfdefaultcase>
</cfswitch>
<cfset DontShow="T">
<cfoutput>
<cfswitch expression="#FORM.MapType#">
<cfcase value="MAP">
Variables returned:<br>
<b>MapImageURL</b><br><br>
<div align="center">
#mapimageURL#
</div>
</cfcase>
<cfcase value="STANDARD">
Variables returned:<br>
<b>MapURL</b><br>
<b>TotalDrivingTimeString</b><br>
<b>Directions</b><br><br>
<div align="center">
<h1>Driving Directions Results</h1><br><br>
#Maps#<br><br>
Approximate Travel Time: <b>#TotalDrivingTimeString#</b><br><br>
#Directions#
</div>
</cfcase>
</cfswitch>
</cfoutput>
<br><br>
<center>
Click <a href="map.cfm?MapType=<cfoutput>#FORM.MapType#</cfoutput>">here</a> to generate a new Map!
</center>
</cfif>
<form action="map.cfm" name="the_form" method="post">
<input type="hidden" name="do_action" value="Continue">
<center>
<table border="1">
<cfif DontShow eq "F">
<tr>
<td valign="top" align="center">
Map <cfif sMapType eq "STANDARD"><b>Driving Direction</b><cfelse><b>Map</b></cfif> Attributes<br>
<table>
<tr>
<td>
Map Type:<br>
<select name="MapType" onChange="javascriptnClick=form_submit('search');">
<option value="MAP" <cfif sMapType eq "MAP">SELECTED</cfif>> Map
<option value="STANDARD" <cfif sMapType eq "STANDARD">SELECTED</cfif>> Driving Directions
</select>
</td>
<cfif sMapType eq "MAP">
<td>
Zoom Factor:<br>
<select name="ZoomFactor">
<option value="1"> 1000 Miles
<option value="2"> 300 Miles
<option value="3"> 100 Miles
<option value="4"> 40 Miles
<option value="5"> 10 Miles
<option value="6"> 4 Miles
<option value="7" SELECTED> 1 Mile
<option value="8"> 1800 feet
<option value="9"> 900 feet
<option value="10"> 300 feet
</select>
</td>
<cfelse>
<td> </td>
</cfif>
</tr>
<cfif sMapType eq "MAP">
<tr><td colspan=2> </td></tr>
<tr><td colspan=2><b>Location From:</b></td></tr>
<tr><td><input type="text" name="AD2_street_1" value="<cfoutput>#DefStreetAddr#</cfoutput>" size=25 maxlength=40></td><td>- Street</td></tr>
<tr><td><input type="text" name="AD3_1" size=25 value="<cfoutput>#DefCityState#</cfoutput>" maxlength=40></td><td>- City, State [or Zip]</td></tr>
<tr>
<td>
<select name="AD4_1">
<option value="fr">France
<option value="uk">United Kingdom
<option value="de" SELECTED>Germany
<option value="it">Italy
<option value="es">Spain
<option value="us" >US
<option value="ca">Canada
</select>
<!--- <select name="AD4_1">
<option value="us"> United States
<option value="ca"> Canada
</select> --->
</td>
<td>- Country</td>
</tr>
<cfelse>
<tr><td colspan=2> </td></tr>
<tr><td colspan=2><b>Location From:</b></td></tr>
<tr><td><input type="text" name="AD2_street_1" value="14214 Plum Run Way" size=25 maxlength=40></td><td>- Street</td></tr>
<tr><td><input type="text" name="AD3_1" size=25 value="20906" maxlength=40></td><td>- City, State [or Zip]</td></tr>
<tr>
<td>
<select name="AD4_1">
<option value="us" SELECTED> United States
<option value="ca"> Canada
</select>
</td>
<td>- Country</td>
</tr>
<tr><td colspan=2> </td></tr><br>
<tr><td colspan=2><b>Location To:</b></td></tr>
<tr><td><input type="text" name="AD2_street_2" value="8075 Leesburg Pike" size=25 maxlength=40></td><td>- Street</td></tr>
<tr><td><input type="text" name="AD3_2" size=25 value="22182" maxlength=40></td><td>- City, State [or Zip]</td></tr>
<tr>
<td>
<select name="AD4_2">
<option value="us" SELECTED> United States
<option value="ca"> Canada
</select>
</td>
<td>- Country</td>
</tr>
</cfif>
<tr>
<td colspan="2" align=center>
<br><br>
<input type="button" onclick="javascriptnClick=form_submit('Submit');" value="Generate">
</td>
</tr>
</table>
</td>
</tr>
</cfif>
</table>
<br><br>
<table width="100%">
<tr>
<td align="center">
<br>
<hr>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<font face="Arial,Helvetica,sans-serif" size="2" color="666666">
This page has been accessed <CF_Counter Start="1"> times since 6/4/2001.
</font>
</td>
</tr>
</table>
</center>
</form>
</body>
</html>
and the error:
Error Diagnostic Information
Template file not found.
HTTP/1.0 404 Object Not Found
Note: If you wish to use an absolute template path (e.g. TEMPLATE="/mypath/index.cfm" with CFINCLUDE then you must create a mapping for the path using the ColdFusion Administrator.
Using relative paths (e.g. TEMPLATE="index.cfm" or TEMPLATE="../index.cfm" does not require the creation of any special mappings. It is therefore recommended that you use relative paths with CFINCLUDE whenever possible.
The error occurred while processing an element with a general identifier of (CFINCLUDE), occupying document position (4:1) to (4:56).
Date/Time: 07/11/03 13:02:11
Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Remote Address: 192.168.254.48
Template: C:\Inetpub\