<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:x =
"urn:schemas-microsoft-com:office:excel" xmlns:p =
"urn:schemas-microsoft-com:office:powerpoint" xmlns:a =
"urn:schemas-microsoft-com:office:access" xmlns:dt =
"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s =
"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs =
"urn:schemas-microsoft-com:rowset" xmlns:z = "#RowsetSchema" xmlns:b =
"urn:schemas-microsoft-com:office:publisher" xmlns:ss =
"urn:schemas-microsoft-com:office:spreadsheet" xmlns:c =
"urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc =
"urn:schemas-microsoft-com:office:odc" xmlns:oa =
"urn:schemas-microsoft-com:office:activation" xmlns:html =
"http://www.w3.org/TR/REC-html40" xmlns:q =
"http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc =
"http://microsoft.com/officenet/conferencing" XMLNS:D = "DAV:" XMLNS:Repl =
"http://schemas.microsoft.com/repl/" xmlns:mt =
"http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2 =
"http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda =
"http://www.passport.com/NameSpace.xsd" xmlns:ois =
"http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir =
"http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds =
"http://www.w3.org/2000/09/xmldsig#" xmlns:dsp =
"http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc =
"http://schemas.microsoft.com/data/udc" xmlns:xsd =
"http://www.w3.org/2001/XMLSchema" xmlns:sub =
"http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec =
"http://www.w3.org/2001/04/xmlenc#" xmlns:sp =
"http://schemas.microsoft.com/sharepoint/" xmlns:sps =
"http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi =
"http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs =
"http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf =
"http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p =
"http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf =
"http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss =
"http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi =
"http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi =
"http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver =
"http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m =
"http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels =
"http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp =
"http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t =
"http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m =
"http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl =
"http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl =
"http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService"
XMLNS:Z = "urn:schemas-microsoft-com:" xmlns:st = ""><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19120">
<STYLE>@font-face {
font-family: Calibri;
}
@font-face {
font-family: Tahoma;
}
@font-face {
font-family: Garamond;
}
@page WordSection1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"; FONT-SIZE: 12pt
}
LI.MsoNormal {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"; FONT-SIZE: 12pt
}
DIV.MsoNormal {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"; FONT-SIZE: 12pt
}
A:link {
COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.EmailStyle17 {
FONT-FAMILY: "Calibri","sans-serif"; COLOR: #1f497d; mso-style-type: personal-reply
}
.MsoChpDefault {
FONT-SIZE: 10pt; mso-style-type: export-only
}
DIV.WordSection1 {
page: WordSection1
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-US link=blue bgColor=white vLink=purple>
<DIV><FONT face=Garamond>It is below. I am running a web mapping site with
GeoMoose(2.0) and MapServer(5.2.1), but I can't seem to find a way to figure out
what I am doing wrong or why I am ending up with the error. Any help would be
greatly appreciated.</FONT></DIV>
<DIV><FONT face=Garamond>Miigwech!</FONT></DIV>
<DIV><FONT face=Garamond>Dara</FONT></DIV>
<DIV><FONT face=Garamond></FONT> </DIV>
<DIV><FONT face=Garamond>MAP<BR></FONT><FONT face=Garamond>SIZE 1920
1920<BR>MAXSIZE 10000<BR>EXTENT -20614760.777156 1751325.1919492
-1927436.1053437 7915207.1517617<BR>UNITS meters<BR>SYMBOLSET
"..\symbols\glifwc_symbol.sym"<BR>FONTSET "..\fonts\fonts.list"<BR>CONFIG
"MS_ERRORFILE" "d:/Logs/Mapserver/MapServerDEVELSITE.log"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Garamond>OUTPUTFORMAT<BR> NAME 'agg/png'<BR> DRIVER
AGG/PNG<BR> IMAGEMODE RGBA<BR> FORMATOPTION
"TRANSPARENT=TRUE"<BR>END<BR> <BR>IMAGETYPE AGG/PNG<BR>TRANSPARENT
ON<BR>IMAGECOLOR -1 -1 -1</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Garamond>DEBUG 3<BR> </FONT><FONT
face=Garamond> <BR>############################### ---- LEGEND ----
###############################</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Garamond> LEGEND<BR> STATUS on<BR>
TRANSPARENT on<BR> END<BR> <BR>############################### ----
Map projection ---- ###############################</FONT></DIV>
<DIV> </DIV>
<DIV><FONT
face=Garamond> PROJECTION<BR> "init=epsg:900913"<BR> END</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Garamond>############################### ---- LAYERS ----
###############################<BR> </FONT></DIV>
<DIV><FONT face=Garamond>LAYER # MN Ogaa Harvest LBS<BR>
NAME "mn_ogaa_harvest_lbs"<BR> TYPE
POLYGON<BR> CONNECTIONTYPE postgis<BR>
CONNECTION "host=zzzzzzz user=zzzzzz password=zzzzzz
dbname=zzzzzz"<BR> PROCESSING
"CLOSE_CONNECTION=DEFER" </FONT></DIV>
<DIV><FONT face=Garamond> DATA "the_geom900913 from
inland.mn_ogaa_harvest_lbs_spatial using unique new_id using
srid=900913"<BR> PROJECTION<BR>
"init=epsg:900913"<BR>
END<BR> METADATA<BR>
"wms_title" "MN Ogaa Harvest Lakes"<BR>
END<BR> CLASS<BR> NAME
"MN Ogaa Harvest
Lakes" <BR> STYLE<BR>
SYMBOL 0 <BR>
SIZE
6 <BR>
OUTLINECOLOR -1 -1 -1<BR>
COLOR 182 177 145<BR>
END<BR> TEMPLATE
"../identify/ogaa_harvest/mn_ogaa_harvest_lbs_identify.html"<BR>
END<BR>END # MN Ogaa Harvest LBS</FONT></DIV>
<DIV><FONT face=Garamond></FONT> </DIV>
<DIV><FONT face=Garamond>END #map file</FONT></DIV>
<DIV><FONT face=Garamond></FONT> </DIV>
<DIV><FONT face=Garamond>My HTML identify template used to display results is,
</FONT></DIV>
<DIV><FONT face=Garamond></FONT> </DIV>
<DIV><FONT face=Garamond><!-- MapServer
Template--><BR><tbody><BR><tr><BR><th colspan="2">MN Ogaa
Harvest in Pounds</th><BR></tr><BR><tr><BR><td
align="left">Lake:</td><BR><td>[lake]</td><BR></tr><BR><tr><BR><td
align="left">2011
Harvest:</td><BR><td>[_2011_harvest]</td><BR></tr><BR>...</FONT></DIV>
<DIV><FONT face=Garamond></tbody><BR><tr><td
colspan="2"><hr></td></tr></FONT></DIV>
<DIV><FONT face=Garamond></FONT> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=david.fawcett@state.mn.us
href="mailto:david.fawcett@state.mn.us">Fawcett, David (MPCA)</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=dolson@glifwc.org
href="mailto:dolson@glifwc.org">Dara Olson</A> ; <A
title=mapserver-users@lists.osgeo.org
href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, August 16, 2011 9:42
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [mapserver-users] Web
application error. Malformed template name</DIV>
<DIV><BR></DIV>
<DIV class=WordSection1>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Dara,
<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Can
you share the part of your mapfile that describes this layer?
<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">David.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<DIV>
<DIV
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<P class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">From:</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> <A
href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</A>
[mailto:mapserver-users-bounces@lists.osgeo.org] <B>On Behalf Of </B>Dara
Olson<BR><B>Sent:</B> Tuesday, August 16, 2011 9:01 AM<BR><B>To:</B> <A
href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</A><BR><B>Subject:</B>
[mapserver-users] Web application error. Malformed template
name<o:p></o:p></SPAN></P></DIV></DIV>
<P class=MsoNormal><o:p> </o:p></P>
<DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Garamond','serif'">Good morning.
I am having some problems identifying a layer through MapServer and
I seem to be stuck. <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Garamond','serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Garamond','serif'">I have a flat
table of harvest by waterbody by year by individual in PostgreSQL/PostGIS. I
created a "temporary view" of the sum harvested by waterbody by year and
joined in geometry which I then made into a crosstab so that each lake would
be listed and columns across with harvest by year. It draws successfully
in my web mapping application (and view looks fine in postgres), but when
I try to use the Identify feature on the website (Mapserver GET URL
request) I get the following error in MapServer,
<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Garamond','serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Garamond','serif'">[Fri Aug 12
09:57:33 2011].687000 msReturnPage(): Web application error. Malformed
template name ().<BR>[Fri Aug 12 09:57:33 2011].703000 msQueryByPoint():
Search returned no results. No matching record(s)
found.<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Garamond','serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Garamond','serif'">Before doing
the crosstab I was getting this error, but I assumed that it didn't like the
multiple records linked to the same geometry and that's why I did the
crosstab. But still nothing works.<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Garamond','serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Garamond','serif'">Does anyone
have any idea of where to begin to debug? Any help would be greatly
appreciated.<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Garamond','serif'">Thanks!<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Garamond','serif'">Dara Olson,
GLIFWC<o:p></o:p></SPAN></P></DIV></DIV></DIV></BLOCKQUOTE></BODY></HTML>