[mapserver-users] loadWeb(): Unknown identifier. Parsing error near(:):(line 1)
Rahkonen Jukka
Jukka.Rahkonen at mmmtike.fi
Fri May 16 16:27:30 PDT 2008
Hi,
I guess that Mapserver thinks that the first line in the mapfile should be
MAP
-Jukka Rahkonen-
-----Alkuperäinen viesti-----
Lähettäjä: mapserver-users-bounces at lists.osgeo.org puolesta: ????? ?????????
Lähetetty: pe 16.5.2008 22:46
Vastaanottaja: Mapserver-users
Aihe: [mapserver-users] loadWeb(): Unknown identifier. Parsing error near(:):(line 1)
I got over the msLoadMap() problem.
but now i get this message : loadWeb(): Unknown identifier. Parsing
error near (:):(line 1)
I have checked the map file over and over agian but i can't find any error.
I quote the contents of map file and html template again.
Map file (name : hello.map Location C:/ms4w/Apache/htdocs/hello.map)
NAME "Hello_world"
SIZE 400 300
IMAGECOLOR 249 245 186
IMAGETYPE png
EXTENT -1.00 -1.00 1.00 1.00
WEB
TEMPLATE "c:/ms4w/Apache/htdocs/test.html"
IMAGEPATH "c:/ms4w/Apache/htdocs/tmp/"
IMAGEURL "/tmp/"
END
LAYER
STATUS default
TYPE point
FEATURE
POINTS 0.0 0.0 END
TEXT "Hello World"
END
CLASS
STYLE
COLOR 255 0 0
END
LABEL
TYPE bitmap
END
END
END
END
HTML Template (name : test.html Location:C:/ms4w/Apache/htdocs/test.html )
O/H Jeff McKenna ??????:
> Hello,
>
> There were changes in MapServer 5.0 in the way CGI variables are
> passed...so you might try to replace that "map_web_imagepath" line in
> your hello.html with something like:
>
> <input type="hidden" name="map_web" value="imagepath
> /ms4w/tmp/ms_tmp/ imageurl /ms_tmp/">
>
> -jeff
>
>
>
>
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list