<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><pre>Hello everyone,<br><br>I'm new, and am currently having trouble figuring out what's wrong with my .map files. I've checked all the lines in my .map files for missing parenthesees. I'm getting this error when I try to click the button to load both test map files:<br><br>loadWeb(): Unknown identifier. Parsing error near (/ms4w/tmp/ms_tmp):(line 1)<br><br>Is there something wrong with my environment? Are there differences in reading code in version 5.0.0. I am using Windows XP, Mapserver 5.0.0, Apache, and PHP 5.2.4.<br>Any help is appreciated!<br><span style="font-weight: bold;">Here is my sample hello.map file:</span><br># This is our "Hello World" mapfile<br> NAME "Hello_World"<br> SIZE 400 300<br> IMAGECOLOR 249 245 186<br> IMAGETYPE png<br> EXTENT -1.00 -1.00 1.00 1.00<br> WEB<br> TEMPLATE "/ms4w/apps/vidu/htdocs/hello.html"<br> IMAGEPATH
"/ms4w/tmp/ms_tmp/"<br> IMAGEURL "/ms_tmp/"<br> END<br> LAYER<br> STATUS default<br> TYPE point<br> FEATURE<br> POINTS 0.0 0.0 END<br> TEXT "Hello World"<br> END # end feature<br> CLASS<br> STYLE<br> COLOR 255 0 0<br> END<br> LABEL<br> TYPE bitmap<br> END<br> END<br> END<br> END<br><span style="font-weight: bold;">Here is my sample hello.html file:</span><br><html><br> <head><title>MapServer Hello World</title></head><br> <body><br> <form method=POST action="/cgi-bin/mapserv.exe"><br> <input type="submit" value="Click Me"><br> <input type="hidden" name="map" value="/ms4w/apps/vidu/htdocs/hello.map"><br> <input type="hidden" name="map_web_imagepath" value="/ms4w/tmp/ms_tmp"><br> </form><br> <IMG SRC="[img]" width=400 height=300 border=0><br> </body><br></html><br><br></pre></td></tr></table><br>