<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div>ah, yeah , thanks, it really work<br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">Dari:</span></b> Jeff McKenna <jmckenna@gatewaygeomatics.com><br><b><span style="font-weight: bold;">Kepada:</span></b> ms4w-users@lists.maptools.org<br><b><span style="font-weight: bold;">Terkirim:</span></b> Minggu, 13 September, 2009 22:24:43<br><b><span style="font-weight: bold;">Judul:</span></b> Re: [MS4W-Users] Bls: [ms4w-users] MS4W 3.0 beta7 available for testing and feedback<br></font><br>Rangga Negara wrote:<br>> hi everyone, i came with problem again,<br>> this is message<br>> <br>> mapserv(): Web application
error. Traditional BROWSE mode requires a <br>> TEMPLATE in the WEB section, but none was provided<br>> <br>> and this is my first.html<br>> --------------------------------------------------------------------------------------------------------------------------------------------------<br>> <html><br>> <head> <title>MapServer First Map</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" <br>> value="C:/ms4w/apache/htdocs/trial/peta_tab/a/view1.map"><br>> <input type="hidden" name="map_web"<br>> value="imagepath /ms4w/tmp/ms_tmp/"><br>> </form><br>> <IMG SRC="[img]" width=700
height=300 border=0><br>> </body><br>> </html><br>> ---------------------------------------------------------------------------------------------------------------------------------------------------------<br>> <br>> and this is my mapfile , i created using gix export tool<br>> ============================================================================<br>> # MapFile created with Gix Export Tool - Sun Sep 13 10:21:53 2009<br>> # <a href="http://gix.sourceforge.net" target="_blank">http://gix.sourceforge.net</a><br>> # View Date : Sunday, September 13, 2009 10:00:10 AM<br>> #<br>> MAP<br>> NAME 'View1'<br>> SIZE 550 400<br>> EXTENT 107.53919303 -6.97557135 107.74596325 -6.83490165<br>> UNITS dd<br>> RESOLUTION 72<br>> CONFIG PROJ_LIB 'C:/Proj/'<br>> DATAPATTERN ''<br>> TEMPLATEPATTERN ''<br>> SHAPEPATH
'c:\ms4w\apache\htdocs\trial\peta_tab\a\'<br>> SYMBOLSET 'c:\ms4w\apache\htdocs\trial\peta_tab\a\View1.sym'<br>> FONTSET 'c:\ms4w\apache\htdocs\trial\peta_tab\a\View1.fnt'<br>> STATUS on<br>> IMAGECOLOR 255 255 255<br>> IMAGETYPE png24<br>> STATUS on<br>> DEBUG false<br>> <br>> WEB<br>> MINSCALE 0<br>> IMAGEPATH ''<br>> IMAGEURL ''<br>> LOG 'c:\ms4w\apache\htdocs\trial\peta_tab\a\View1.log'<br>> METADATA<br>> END #METADATA<br>> END #WEB<br>> <br>> REFERENCE<br>> IMAGE 'c:\ms4w\apache\htdocs\trial\peta_tab\a\View1.jpg'<br>> EXTENT 107.53919303 -6.97557135 107.74596325 -6.83490165<br>> STATUS on<br>> COLOR -1 -1 -1<br>> OUTLINECOLOR 255 255 0<br>>
SIZE 110 120<br>> #MARKER<br>> #MARKERSIZE<br>> #MINBOXSIZE<br>> #MAXBOXSIZE<br>> END #REFERENCE<br>> <br>> LEGEND<br>> IMAGECOLOR 255 255 255<br>> OUTLINECOLOR -1 -1 -1<br>> KEYSIZE 18 12<br>> KEYSPACING 2 2<br>> POSTLABELCACHE true<br>> POSITION ll<br>> LABEL<br>> ANTIALIAS true<br>> BACKGROUNDCOLOR 255 255 255<br>> BACKGROUNDSHADOWCOLOR -1 -1 -1<br>> BACKGROUNDSHADOWSIZE 2 2<br>> OUTLINECOLOR -1 -1 -1<br>> COLOR 0 0 0<br>> FONT 'Arial-Normal'<br>> SIZE 10<br>> TYPE truetype<br>> END<br>>
STATUS on<br>> END #LEGEND<br>> <br>> SCALEBAR<br>> BACKGROUNDCOLOR 255 255 255<br>> COLOR 0 0 0<br>> IMAGECOLOR 255 255 255<br>> INTERVALS 4<br>> LABEL<br>> COLOR 0 0 0<br>> SIZE tiny<br>> TYPE bitmap<br>> ANTIALIAS true<br>> END<br>> OUTLINECOLOR 0 0 0<br>> POSITION lr<br>> POSTLABELCACHE true<br>> SIZE 200 4<br>> STATUS on<br>> STYLE 0<br>> UNITS meters<br>> END #SCALEBAR<br>> <br>> QUERYMAP<br>> STYLE hilite<br>> STATUS on<br>> COLOR 255 255 0<br>> END #QUERYMAP<br>> <br>> LAYER
#A_region.shp<br>> TRANSPARENCY 100<br>> NAME 'A_region.shp'<br>> METADATA<br>> gix_layername "A_region.shp"<br>> gix_layerfieldnames "NAMA_KEC|ID|DEMAND|LUAS_KM2"<br>> gix_layerfieldalias "Nama_kec|Id|Demand|Luas_km2"<br>> END #METADATA<br>> TOLERANCE 3<br>> TOLERANCEUNITS pixels<br>> DATA 'a_region.shp'<br>> HEADER 'header.html'<br>> FOOTER 'footer.html'<br>> LABELCACHE on<br>> # TILEINDEX ''<br>> # TILEITEM ''<br>> STATUS on<br>> DEBUG false<br>> TRANSFORM true<br>> TYPE polygon<br>> CLASSITEM 'NAMA_KEC'<br>> CLASS<br>>
NAME 'Andir'<br>> TEMPLATE 'template.html'<br>> EXPRESSION 'Andir'<br>> #RASTERFILL_STYLE_SOLID<br>> STYLE<br>> COLOR 192 101 73<br>> BACKGROUNDCOLOR 255 255 255<br>> END #STYLE<br>> END #CLASS<br>> CLASS<br>> NAME 'Arca Manik'<br>> TEMPLATE 'template.html'<br>> EXPRESSION 'Arca Manik'<br>> #RASTERFILL_STYLE_SOLID<br>> STYLE<br>> COLOR 255 215 0<br>> BACKGROUNDCOLOR 255 255 255<br>> END #STYLE<br>> END #CLASS<br>> CLASS<br>> NAME 'Astana
Anyar'<br>> TEMPLATE 'template.html'<br>> EXPRESSION 'Astana Anyar'<br>> #RASTERFILL_STYLE_SOLID<br>> STYLE<br>> COLOR 189 183 107<br>> BACKGROUNDCOLOR 255 255 255<br>> END #STYLE<br>> END #CLASS<br>> END #LAYER<br>> <br>> OUTPUTFORMAT<br>> NAME png24<br>> DRIVER "GD/PNG"<br>> MIMETYPE "image/png"<br>> IMAGEMODE RGBA<br>> EXTENSION png<br>> TRANSPARENT on<br>> END #OUTPUTFORMAT<br>> <br>> END #MAP<br><br>Hello,<br><br>You are missing a template file, which you refer to in the WEB object of <br>your mapfile, such as:<br><br> WEB<br> ...<br> TEMPLATE
"../htdocs/viewer-template.html"<br> ...<br> END<br><br>If you want to see this in action, download the MS4W addon package <br>"MapServer Itasca Demo Application" from the MS4W downloads page.<br><br>-jeff<br><br><br>-- <br>Jeff McKenna<br>FOSS4G Consulting and Training Services<br><a href="http://www.gatewaygeomatics.com/" target="_blank">http://www.gatewaygeomatics.com/</a><br><br><br><br><br>_______________________________________________<br>MS4W-Users mailing list<br><a ymailto="mailto:MS4W-Users@lists.maptools.org" href="mailto:MS4W-Users@lists.maptools.org">MS4W-Users@lists.maptools.org</a><br><a href="http://lists.maptools.org/mailman/listinfo/ms4w-users" target="_blank">http://lists.maptools.org/mailman/listinfo/ms4w-users</a><br></div></div></div><br>
<hr size=1> <a href="http://id.answers.yahoo.com/question/index;_ylt=AvNICQ7kn6q3Q3xZLe8SqyXJRAx.;_ylv=3?qid=20080714024736AAnnlu0"> Pemerintahan yang jujur & bersih? Mungkin nggak ya? </a> <br> Temukan jawabannya di Yahoo! Answers!</body></html>