No subject
Mon Oct 7 05:54:23 PDT 2024
suggest including the text of your mapfile in your response to the list. =
=20
=20
David.
=20
-----Original Message-----
From: Albert Anderson [mailto:bart_doggers at yahoo.com]=20
Sent: Thursday, June 29, 2006 9:13 AM
To: Fawcett, David
Subject: RE: [UMN_MAPSERVER-USERS] msLoadMap(): Unknown identifier. =
Parsing error near (255):(line 4)=20
Hi,
I did a wapperscript and put name=3D"map" in the html where the input =
is. Now I am getting this error msLoadMap(): Unknown identifier. =
Parsing error near (255):(line 4) . Could you please help me.
Thanks,
Albert
"Fawcett, David" <David.Fawcett at state.mn.us> wrote:=20
Albert,=20
=20
You are calling the MapServer cgi program, but you are not telling it =
which map file to use for configuration. If you are calling the program =
with a get request (in a URL), it should look something like:
=20
http://my.site/cgi-bin/mapserv?map=3D/home/mydirectory/mymapfile.map
=20
You will likely set other variables in the URL also, like mode, layers, =
etc. =20
=20
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. =20
=20
David.
-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] =
On Behalf Of Albert Anderson
Sent: Thursday, June 29, 2006 8:18 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] load Map error
=09
=09
Hi,
=09
I am getting this error loadMap(): Web application error. CGI =
variable "map" is not set. That is when I am clicking the submit button =
and it doesnt load up the map. Can anyone help me?
=09
=09
=09
Thanks,
Albert
=09
________________________________
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great =
rates starting at 1=EF=BF=BD/min. =
<http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.yahoo.com=
/evt=3D39666/*http://messenger.yahoo.com>=20
________________________________
Yahoo! Music Unlimited - Access over 1 million songs. Try it free. =
<http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=3D36035/*http://music.ya=
hoo.com/unlimited/> =20
------_=_NextPart_001_01C69B8A.08F3CD7B
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2912" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D089313914-29062006><FONT face=3DArial color=3D#0000ff =
size=3D2>Albert, </FONT></SPAN></DIV>
<DIV><SPAN class=3D089313914-29062006><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D089313914-29062006><FONT face=3DArial color=3D#0000ff =
size=3D2>Please=20
CC' the entire list on your responses. </FONT></SPAN></DIV>
<DIV><SPAN class=3D089313914-29062006><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D089313914-29062006><FONT face=3DArial color=3D#0000ff =
size=3D2>From=20
your description, you have an error in your mapfile. I would =
suggest=20
including the text of your mapfile in your response to the list. =20
</FONT></SPAN></DIV>
<DIV><SPAN class=3D089313914-29062006><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D089313914-29062006><FONT face=3DArial color=3D#0000ff =
size=3D2>David.</FONT></SPAN></DIV>
<DIV><SPAN class=3D089313914-29062006></SPAN> </DIV>
<DIV></DIV>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT face=3DTahoma=20
size=3D2>-----Original Message-----<BR><B>From:</B> Albert Anderson=20
[mailto:bart_doggers at yahoo.com] <BR><B>Sent:</B> Thursday, June 29, 2006 =
9:13=20
AM<BR><B>To:</B> Fawcett, David<BR><B>Subject:</B> RE: =
[UMN_MAPSERVER-USERS]=20
msLoadMap(): Unknown identifier. Parsing error near (255):(line 4)=20
<BR><BR></FONT></DIV>Hi,<BR><BR> I did a wapperscript and put =
name=3D"map" in=20
the html where the input is. Now I am getting this error =
msLoadMap():=20
Unknown identifier. Parsing error near (255):(line 4) . Could you =
please=20
help me.<BR><BR>Thanks,<BR>Albert<BR><BR><B><I>"Fawcett, David"=20
<David.Fawcett at state.mn.us></I></B> wrote:
<BLOCKQUOTE class=3Dreplbq=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: =
rgb(16,16,255) 2px solid">
<META content=3D"MSHTML 6.00.2900.2912" name=3DGENERATOR>
<DIV><SPAN class=3D583392113-29062006><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>Albert, </FONT></SPAN></DIV>
<DIV><SPAN class=3D583392113-29062006><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D583392113-29062006><FONT face=3DArial =
color=3D#0000ff size=3D2>You=20
are calling the MapServer cgi program, but you are not telling it =
which map=20
file to use for configuration. If you are calling the program =
with a get=20
request (in a URL), it should look something like:</FONT></SPAN></DIV>
<DIV><SPAN class=3D583392113-29062006><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D583392113-29062006><FONT face=3DArial =
color=3D#0000ff size=3D2><A=20
=
href=3D"http://my.site/cgi-bin/mapserv?map=3D/home/mydirectory/mymapfile.=
map">http://my.site/cgi-bin/mapserv?map=3D/home/mydirectory/mymapfile.map=
</A></FONT></SPAN></DIV>
<DIV><SPAN class=3D583392113-29062006><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D583392113-29062006><FONT face=3DArial =
color=3D#0000ff size=3D2>You=20
will likely set other variables in the URL also, like mode, layers, =
etc. =20
</FONT></SPAN></DIV>
<DIV><SPAN class=3D583392113-29062006><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D583392113-29062006><FONT face=3DArial =
color=3D#0000ff size=3D2>If=20
you are calling the MapServer cgi from a html form, you are missing a =
hidden=20
html variable named map that, like the url variable above, would =
contain the=20
path to your map file. </FONT></SPAN></DIV>
<DIV><SPAN class=3D583392113-29062006><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D583392113-29062006><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>David.</FONT></SPAN></DIV>
<BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B> =
UMN MapServer=20
Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] <B>On Behalf Of =
</B>Albert=20
Anderson<BR><B>Sent:</B> Thursday, June 29, 2006 8:18 =
AM<BR><B>To:</B>=20
MAPSERVER-USERS at LISTS.UMN.EDU<BR><B>Subject:</B> =
[UMN_MAPSERVER-USERS] load=20
Map error<BR><BR></FONT></DIV>Hi,<BR><BR> I am getting this =
error=20
loadMap(): Web application error. CGI variable "map" is not =
set. That=20
is when I am clicking the submit button and it doesnt load up the =
map. Can=20
anyone help me?<BR><BR><BR><BR>Thanks,<BR>Albert<BR>
<DIV></DIV>
<HR SIZE=3D1>
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. <A=20
=
href=3D"http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.ya=
hoo.com/evt=3D39666/*http://messenger.yahoo.com">Great=20
rates starting at 1=EF=BF=BD/min.</A></BLOCKQUOTE></BLOCKQUOTE><BR>
<P>
<HR SIZE=3D1>
Yahoo! Music Unlimited - Access over 1 million songs. <A=20
href=3D"http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=3D36035/*http://m=
usic.yahoo.com/unlimited/ ">Try=20
it free.</A> </BODY></HTML>
------_=_NextPart_001_01C69B8A.08F3CD7B--
More information about the MapServer-users
mailing list