Hi: [mapserver-users] loadWeb(): Unknown identifier. Parsing error
Jukka.Rahkonen at mmmtike.fi
Tue May 20 13:17:08 EDT 2008
I copy-pasted your mapfile from this message (between MAP and END), stored it on my hard disk and had a try with MS4W with the following URL:
I received a yellowish box on browser with Hello World text on it. Thus your mapfile and operating system is OK for this task. There must be something very little teasing you at the moment, but I trust that you will do it. Are you totally sure that you do not have anything extra, like ':' in the first line of your mapfile, as the error message suggests?
Lähettäjä: mapserver-users-bounces at lists.osgeo.org puolesta: ????? ?????????
Lähetetty: ti 20.5.2008 19:40
Vastaanottaja: mapserver-users at lists.osgeo.org
Aihe: [mapserver-users] loadWeb(): Unknown identifier. Parsing error near(:):(line 1)
Unfortunately the error insists.
I have tried every advice you gave me but stiil nothing.
All the modifications i did are:
1)Check the orientation of slashes and i actually tried every possible
2)Placed the MAP keyword in the first line of .map file.
3)Tried an older version of MapServer (although there is nothing
different according to the site...).
Perhaps i should try it on linux?
Does it make any difference at all?
SIZE 400 300
IMAGECOLOR 249 245 186
EXTENT -1.00 -1.00 1.00 1.00
POINTS 0.0 0.0 END
TEXT "Hello World"
COLOR 255 0 0
<head><title>MapServer Hello World</title></head>
<form method=POST action="/cgi-bin/mapserv.exe">
<input type="submit" value="Click">
<input type="hidden" name="MAP" value="C:\ms4w\Apache\htdocs\test.map">
<input type="hidden" name="map_web" value="imagepath
C:\ms4w\Apache\htdocs\tmp\ imageurl /tmp/">
<IMG SRC="[img]" width=400 height=300 border=0>
More information about the mapserver-users