<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=528195514-29062006><FONT face=Arial color=#0000ff 
size=2>Albert, </FONT></SPAN></DIV>
<DIV><SPAN class=528195514-29062006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=528195514-29062006><FONT face=Arial color=#0000ff size=2>On 
line 4, you have '<FONT face="Times New Roman" color=#000000 size=3>IMAGETYPE 
255 255 255'</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=528195514-29062006><FONT face=Arial color=#0000ff size=2><FONT 
face=Arial color=#0000ff size=2></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=528195514-29062006><FONT face=Arial color=#0000ff size=2>This 
is causing the error.&nbsp; You should either comment this line out, or change 
it to 'IMAGECOLOR 255 255 255'</FONT></SPAN></DIV>
<DIV><SPAN class=528195514-29062006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=528195514-29062006><FONT face=Arial color=#0000ff 
size=2>David.</FONT></SPAN></DIV>
<DIV><SPAN class=528195514-29062006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> UMN MapServer 
  Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>On Behalf Of </B>Albert 
  Anderson<BR><B>Sent:</B> Thursday, June 29, 2006 9:47 AM<BR><B>To:</B> 
  MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> Re: [UMN_MAPSERVER-USERS] FW: 
  [UMN_MAPSERVER-USERS] msLoadMap(): Unknown identifier. Parsing error near 
  (255):(line 4)<BR><BR></FONT></DIV>There is the my map file<BR>#This is our 
  first mapfile<BR>NAME "First"<BR>SIZE 400 300<BR>IMAGETYPE 255 255 
  255<BR>IMAGETYPE JPEG<BR>SHAPEPATH "/home/mapdata/"<BR>EXTENT -125.00 20.00 
  -65.00 50.00<BR>WEB<BR>&nbsp; TEMPLATE '/var/www/htdocs/first.html'<BR>&nbsp; 
  IMAGEPATH '/var/www/htdocs/tmp'<BR>&nbsp; IMAGEURL 
  '/tmp/'<BR>END<BR>LAYER<BR>&nbsp;&nbsp;&nbsp; NAME "US 
  States"<BR>&nbsp;&nbsp;&nbsp; STATUS default<BR>&nbsp;&nbsp;&nbsp; TYPE 
  line<BR>&nbsp;&nbsp;&nbsp; DATA "statesp020"<BR>&nbsp;&nbsp;&nbsp; LABELITEM 
  "STATE"<BR>&nbsp;&nbsp;&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  STYLE<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  COLOR 0 0 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  END<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  COLOR 0 0 0 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  SIZE SMALL<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<BR>&nbsp;&nbsp;&nbsp; 
  END<BR>END<BR>END<BR><BR>and there is my 
  html<BR><BR>&lt;html&gt;<BR>&lt;head&gt;&lt;title&gt;MapServer First 
  Map&lt;/title&gt;&lt;/head&gt;<BR>&lt;body&gt;<BR>&nbsp; &lt;form method=POST 
  action="/cgi-bin/mapserv"&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;input type="submit" 
  value="Click Me"<BR>&nbsp;&nbsp;&nbsp; &lt;input type="hidden" 
  name="map"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  value="/home/mapdata/first.map"&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;input 
  type="hidden" 
  name="map_web_imagepath"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  value="/var/www/htdocs/tmp/"&gt;<BR><BR>&nbsp; &lt;/form&gt;<BR>&nbsp; &lt;IMG 
  SRC="[img]" width=400 height=300 
  border=0&gt;<BR>&lt;/body&gt;<BR>&lt;/html&gt;<BR><BR>Thanks,<BR>Albert<BR><BR><BR><BR><BR><B><I>"Fawcett, 
  David" &lt;David.Fawcett@STATE.MN.US&gt;</I></B> wrote:
  <BLOCKQUOTE class=replbq 
  style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">
    <META content="MSHTML 6.00.2900.2912" name=GENERATOR>
    <DIV><SPAN class=089313914-29062006><FONT face=Arial color=#0000ff 
    size=2>Albert, </FONT></SPAN></DIV>
    <DIV><SPAN class=089313914-29062006><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=089313914-29062006><FONT face=Arial color=#0000ff 
    size=2>Please CC' the entire list on your responses.&nbsp; 
    </FONT></SPAN></DIV>
    <DIV><SPAN class=089313914-29062006><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=089313914-29062006><FONT face=Arial color=#0000ff 
    size=2>From your description, you have an error in your mapfile.&nbsp; I 
    would suggest including the text of your mapfile in your response to the 
    list.&nbsp; </FONT></SPAN></DIV>
    <DIV><SPAN class=089313914-29062006><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=089313914-29062006><FONT face=Arial color=#0000ff 
    size=2>David.</FONT></SPAN></DIV>
    <DIV><SPAN class=089313914-29062006></SPAN>&nbsp;</DIV>
    <DIV></DIV>
    <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
    face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Albert 
    Anderson [mailto:bart_doggers@yahoo.com] <BR><B>Sent:</B> Thursday, June 29, 
    2006 9:13 AM<BR><B>To:</B> Fawcett, David<BR><B>Subject:</B> RE: 
    [UMN_MAPSERVER-USERS] msLoadMap(): Unknown identifier. Parsing error near 
    (255):(line 4) <BR><BR></FONT></DIV>Hi,<BR><BR>&nbsp;I did a wapperscript 
    and put name="map" in the html where the input is.&nbsp; Now I am getting 
    this error msLoadMap(): Unknown identifier. Parsing error near (255):(line 
    4) .&nbsp; Could you please help 
    me.<BR><BR>Thanks,<BR>Albert<BR><BR><B><I>"Fawcett, David" 
    &lt;David.Fawcett@state.mn.us&gt;</I></B> wrote: 
    <BLOCKQUOTE class=replbq 
    style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">
      <META content="MSHTML 6.00.2900.2912" name=GENERATOR>
      <DIV><SPAN class=583392113-29062006><FONT face=Arial color=#0000ff 
      size=2>Albert, </FONT></SPAN></DIV>
      <DIV><SPAN class=583392113-29062006><FONT face=Arial color=#0000ff 
      size=2></FONT></SPAN>&nbsp;</DIV>
      <DIV><SPAN class=583392113-29062006><FONT face=Arial color=#0000ff 
      size=2>You are calling the MapServer cgi program, but you are not telling 
      it which map file to use for configuration.&nbsp; If you are calling the 
      program with a get request (in a URL), it should look something 
      like:</FONT></SPAN></DIV>
      <DIV><SPAN class=583392113-29062006><FONT face=Arial color=#0000ff 
      size=2></FONT></SPAN>&nbsp;</DIV>
      <DIV><SPAN class=583392113-29062006><FONT face=Arial color=#0000ff 
      size=2><A 
      href="http://my.site/cgi-bin/mapserv?map=/home/mydirectory/mymapfile.map">http://my.site/cgi-bin/mapserv?map=/home/mydirectory/mymapfile.map</A></FONT></SPAN></DIV>
      <DIV><SPAN class=583392113-29062006><FONT face=Arial color=#0000ff 
      size=2></FONT></SPAN>&nbsp;</DIV>
      <DIV><SPAN class=583392113-29062006><FONT face=Arial color=#0000ff 
      size=2>You will likely set other variables in the URL also, like mode, 
      layers, etc.&nbsp; </FONT></SPAN></DIV>
      <DIV><SPAN class=583392113-29062006><FONT face=Arial color=#0000ff 
      size=2></FONT></SPAN>&nbsp;</DIV>
      <DIV><SPAN class=583392113-29062006><FONT face=Arial color=#0000ff 
      size=2>If you are calling the MapServer cgi from a html form, you are 
      missing a hidden html variable named map that, like the url variable 
      above, would contain the path to your map file.&nbsp; </FONT></SPAN></DIV>
      <DIV><SPAN class=583392113-29062006><FONT face=Arial color=#0000ff 
      size=2></FONT></SPAN>&nbsp;</DIV>
      <DIV><SPAN class=583392113-29062006><FONT face=Arial color=#0000ff 
      size=2>David.</FONT></SPAN></DIV>
      <BLOCKQUOTE style="MARGIN-RIGHT: 0px">
        <DIV></DIV>
        <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
        face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> UMN 
        MapServer Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>On Behalf 
        Of </B>Albert Anderson<BR><B>Sent:</B> Thursday, June 29, 2006 8:18 
        AM<BR><B>To:</B> MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> 
        [UMN_MAPSERVER-USERS] load Map 
        error<BR><BR></FONT></DIV>Hi,<BR><BR>&nbsp;I am getting this error 
        loadMap(): Web application error. CGI variable "map" is not set.&nbsp; 
        That is when I am clicking the submit button and it doesnt load up the 
        map. Can anyone help me?<BR><BR><BR><BR>Thanks,<BR>Albert<BR>
        <DIV></DIV>
        <HR SIZE=1>
        Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. <A 
        href="http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com">Great 
        rates starting at 1�/min.</A></BLOCKQUOTE></BLOCKQUOTE><BR>
    <DIV></DIV>
    <HR SIZE=1>
    Yahoo! Music Unlimited - Access over 1 million songs. <A 
    href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/%20">Try 
    it free.</A> </BLOCKQUOTE><BR>
  <P>__________________________________________________<BR>Do You 
  Yahoo!?<BR>Tired of spam? Yahoo! Mail has the best spam protection around 
  <BR>http://mail.yahoo.com </P></BLOCKQUOTE></BODY></HTML>