[mapserver-users] solve problem

hosain mohammadi hosain.moh00 at gmail.com
Fri May 15 02:27:18 PDT 2015


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.




<html>
 <head><title>MapServer Hello World</title></head>
 <body>


      <form method=POST action="/cgi-bin/mapserv.exe">

     <input type="hidden" name="mode" value="map">
       <input type="submit" value="Click Me">
       <input type="hidden" name="map" value="/ms4w/Apache/htdocs/data/map.map">


       <input type="hidden" name="layer" value="tehran">
       <input type="hidden" name="layer" value="newlayer">


        <input type="hidden" name="map_web"
value="c:\\ms4w\\Apache\\htdocs\\tmp">



     </form>

     <IMG SRC="[img]"  width=600 height=500 border=1>

 </body>
 </html>




TEMPLATE "/ms4w/Apache/htdocs/data/test.html"
    IMAGEPATH "\\ms4w\\Apache\\htdocs\\tmp"
    IMAGEURL "\\tmp\\\\"




hosein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20150515/3401bee5/attachment.html>


More information about the mapserver-users mailing list