<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div>It's saying that because you haven't actually set any CGI parameters.&nbsp; Try something more like this...<br><br>http:/localhost:9000/cgi-bin/mapserv?map=hello.map&amp;mode=browse<br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> MOHAMMED SADIQUE SHADAB &lt;sadiqueshadab@gmail.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> mapserver-users@lists.osgeo.org<br><b><span style="font-weight: bold;">Sent:</span></b> Wednesday, January 7, 2009 5:02:53 AM<br><b><span style="font-weight: bold;">Subject:</span></b> [mapserver-users] Fwd: Getting error while running helloworld sample
 application in FGS in fedora 7<br></font><br>
hi&nbsp; all. <br><div class="gmail_quote"><div class="gmail_quote">
<br><br>First of all i&nbsp; have installed the FGS mapserver in /opt/fgs in&nbsp; 9000&nbsp; port . after that i<br>&nbsp;checked in browser by loading this URL:<b><a rel="nofollow" target="_blank"  href="http://localhost:9000/cgi-bin/mapserv">http://localhost:9000/cgi-bin/mapserv</a></b><br>


<br>then&nbsp; it displays the message as<br><br><u><b> No query information to decode. QUERY_STRING is set, but empty.<br><br><br></b></u>Then i have created one Sample Helloworld application .<br>For this i have created one hello.html file&nbsp; and i have placed that file in /<u><b>opt/fgs/www/htdocs/</b></u><br>


<u><b><br><br></b></u>my<b>&nbsp; </b><u><b>Hello.html <br><br></b></u>&lt;html&gt;<br>&lt;head&gt;<br>&lt;title&gt;MapServer Hello World11&lt;/title&gt;&lt;/head&gt;<br>&lt;body&gt;<br>&lt;form method=POST action="/cgi-bin/mapserv"&gt;<br>


&lt;input type="submit" value="Click Me"&gt;<br>&lt;input type="hidden" name="map" value="/opt/fgs/www/cgi-bin/hello.map"&gt;<br>&lt;input type="hidden" name="map_web_imagepath" value="/opt/fgs/www/htdocs/tmp/"&gt;<br>


&lt;/form&gt;<br>&lt;IMG SRC="[img]" width=400 height=300 border=1&gt;<br>&lt;/body&gt;<br>&lt;/html&gt;<br><br><br>Then i&nbsp; have created one hello.map file and placed that file in <u><b>/opt/fgs/www/cgi-bin/<br>


<br></b></u>my&nbsp; <u><b>hello.map<br><br></b></u># 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 "/opt/fgs/www/htdocs/hello.html"<br>IMAGEPATH "/opt/fgs/www/htdocs/tmp/"<br>IMAGEURL "/tmp/"<br>END<br>LAYER&nbsp;&nbsp;&nbsp; <br>STATUS default<br>TYPE point<br>FEATURE<br>POINTS 0.0 0.0 <br>END<br>


TEXT "HELLO WORLD"<br>END<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><br><br>After that i run the HTML file (hello.html)&nbsp; in browser as the <br><br><u><b>URL:<a rel="nofollow" target="_blank"  href="http://localhost:9000/hello.html">http://localhost:9000/hello.html</a><br>


<br>&nbsp;<br></b></u>&nbsp;It displays&nbsp; one button <u><b>"Click Me"</b></u> and <u><b>broken image</b></u> <br><br>If i press the "Click Me" button&nbsp; it shows errors as <br><br><u><b>
loadWeb(): Unknown identifier. Parsing error near (/opt/fgs/www/htdocs/tmp/):(line 1)<br><br><br></b></u>Please help me out from this problem,because i am very newbee to this mapserver and FGS<br><br>Thanks in advance<br>


<br><br>regards<font color="#888888"><br>SHADAB<br><br>
</font></div><br>
</div><br>
</div></div></div><br>

      </body></html>