79 is the 'identify_record' line.<div><br></div><div>But that wasn't the problem, it seems.. debugger just reported</div><div><br></div><div><div>[Thu Oct 25 14:21:36 2012].904000 msLoadMap(): Unknown identifier. Parsing error near (METADATA):(line 77)</div>
<div>[Thu Oct 25 14:21:36 2012].904000 msFreeMap(): freeing map at 02BA21D0.</div></div><div><br></div><div>Where line 77 is the METADATA tag. Turns out the CLASS section above didn't have an END tag. Let's hear it for Notepad++.</div>
<div><br></div><div>And really, the list archive doesn't have enough silly questions to help noobs like myself figure all this out, so really, my posts are a public service.... :)</div><div><br></div><div>Result: PSOD gone. Identify still doesn't work for the point feature, but at least now I have one problem instead of two.</div>
<div><br></div><div>Thanks,</div><div>jason</div><div><br clear="all">----<br>Jason Menard<br><a href="mailto:menard.jason@gmail.com">menard.jason@gmail.com</a><br>
<br><br><div class="gmail_quote">On Thu, Oct 25, 2012 at 2:18 PM, Bistrais, Bob <span dir="ltr"><<a href="mailto:Bob.Bistrais@maine.gov" target="_blank">Bob.Bistrais@maine.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Just for starters, I’d try removing the tab and just use some spaces.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Another thing I’d suggest is removing that #drill down line with the comment. Might not be the problem, but it can be eliminated as the possibility.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Which one is line 79?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Jason Menard [mailto:<a href="mailto:menard.jason@gmail.com" target="_blank">menard.jason@gmail.com</a>]
<br>
<b>Sent:</b> Thursday, October 25, 2012 2:12 PM<br>
<b>To:</b> Bistrais, Bob<br>
<b>Cc:</b> <a href="mailto:geomoose-users@lists.osgeo.org" target="_blank">geomoose-users@lists.osgeo.org</a></span></p><div><div class="h5"><br>
<b>Subject:</b> Re: [Geomoose-users] Identify, services, and the PSOD<u></u><u></u></div></div><p></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Hi Bob,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Yep, local_settings.ini set to maps. :)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">The metadata items are separated by a TAB. So the code in the .MAP file is:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"><span> </span>
METADATA<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span> </span>
# drill-down identify service record.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span>
</span>'identify_record'<span> </span>'templates/identify.html'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span> </span>
END<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span> </span>
TOLERANCE 0<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <span> </span> END<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">And all identify.html is is this (all I want is an ID returned):<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"><!-- MapServer Template --><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><tr bgcolor="#DEE5EB"><td colspan="2"><b><u>Gate Valves</u></b></tr><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><tr><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><td align="right"><b>ID: </b></td><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><td>[ID]</td><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"></tr><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><tr><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><td> </td><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><td> </td><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"></tr><u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">The debugger returns this:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">[Thu Oct 25 10:11:32 <a href="tel:2012%5D.534000" value="+12012534000" target="_blank">2012].534000</a> msLoadMap(): Unknown identifier. Parsing error near (identify_record):(line 79)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">... Line 79 is the line. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I can see why it might not work, but the PSOD is an extra wrinkle of confusion.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Jason<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">----<br>
Jason Menard<br>
<a href="mailto:menard.jason@gmail.com" target="_blank">menard.jason@gmail.com</a><br>
<br>
<u></u><u></u></p>
<div>
<p class="MsoNormal">On Thu, Oct 25, 2012 at 1:56 PM, Bistrais, Bob <<a href="mailto:Bob.Bistrais@maine.gov" target="_blank">Bob.Bistrais@maine.gov</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">One thing to check just to be sure, in conf\local_settings.ini, make sure the root is set for the
location of your maps directory.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<a href="mailto:geomoose-users-bounces@lists.osgeo.org" target="_blank">geomoose-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:geomoose-users-bounces@lists.osgeo.org" target="_blank">geomoose-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Bistrais, Bob<br>
<b>Sent:</b> Thursday, October 25, 2012 1:54 PM<br>
<b>To:</b> Jason Menard; <a href="mailto:geomoose-users@lists.osgeo.org" target="_blank">
geomoose-users@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [Geomoose-users] Identify, services, and the PSOD</span><u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">It would be good if we could see your code. So the point layer draws, but adding those items to
the metadata section breaks it? Or does the act of trying to Identify give you the PSOD?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Are those metadata items in quotes, with a space between them? (as in your message)</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<a href="mailto:geomoose-users-bounces@lists.osgeo.org" target="_blank">geomoose-users-bounces@lists.osgeo.org</a> [<a href="mailto:geomoose-users-bounces@lists.osgeo.org" target="_blank">mailto:geomoose-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Jason Menard<br>
<b>Sent:</b> Thursday, October 25, 2012 1:48 PM<br>
<b>To:</b> <a href="mailto:geomoose-users@lists.osgeo.org" target="_blank">geomoose-users@lists.osgeo.org</a><br>
<b>Subject:</b> [Geomoose-users] Identify, services, and the PSOD</span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Hi all,<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I am slogging through service configuration. I have parcels in my datasets, I can get those to work fine with Identify just fine (and Search Parcels too). But when I try to add
some point features, adding the 'identify_record' 'templates/identify.html' to the METADATA section of the .MAP file breaks the layer and gives me the PSOD. I'm pretty sure I have the templates configured correctly (though with me, you never know),
but I can't think why I'd get the PSOD.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Any ideas?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks!<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">-jason<br clear="all">
----<br>
Jason Menard<br>
<a href="mailto:menard.jason@gmail.com" target="_blank">menard.jason@gmail.com</a><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>
</blockquote></div><br></div>