<html><body><div style="color:#000; background-color:#fff; font-family:bookman old style, new york, times, serif;font-size:14pt"><div class="" style=""><span class="" style="">Hi Jeff,</span></div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: 'bookman old style', 'new york', times, serif; background-color: transparent; font-style: normal;" class=""><span class="" style=""><br class="" style=""></span></div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: 'bookman old style', 'new york', times, serif; background-color: transparent; font-style: normal;" class=""><span class="" style="">I came to this old post once again and I tried the above mentioned. shp2img still produces an image which is blank or whatever the color of the mapfile is defined. On the other hand I checked the EXTENT once again and it was wrong so I changed to the appropriate one (EXTENT 17.00 33.00 32.00 42.00) which I checked on QGIS in WGS84 so it should
 be fine. If STATUS is set to default or On there's no difference. I also changed TYPE to line and polygon just to be sure but nothing. </span></div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: 'bookman old style', 'new york', times, serif; background-color: transparent; font-style: normal;" class=""><span class="" style=""><br></span></div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: 'bookman old style', 'new york', times, serif; background-color: transparent; font-style: normal;" class="">My shapefile is a polygon with boundaries.  Why wouldn't it appear on the browser?</div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: 'bookman old style', 'new york', times, serif; background-color: transparent; font-style: normal;" class=""><br></div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: 'bookman old style', 'new york', times, serif; background-color: transparent; font-style:
 normal;" class="">Thanks again and I'm sorry for writing about it so late.</div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: 'bookman old style', 'new york', times, serif; background-color: transparent; font-style: normal;" class=""><br></div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: 'bookman old style', 'new york', times, serif; background-color: transparent; font-style: normal;" class="">Stefanos</div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: bookman old style, new york, times, serif; font-size: 14pt;" class=""> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;" class=""> <div dir="ltr" class="" style=""> <font size="2" face="Arial" class="" style=""> Στις 7:15 μ.μ. Δευτέρα, 10 Φεβρουαρίου 2014, ο/η Jeff McKenna
 <jmckenna@gatewaygeomatics.com> έγραψε:<br class="" style=""> </font> </div>  <br class="" style=""><br class="" style=""> <div class="" style="">Hi sorry long thread and I bet this has already been said, but here were<br clear="none" class="" style="">my thoughts when I read your problems:<br clear="none" class="" style=""><br clear="none" class="" style="">- always test your mapfile at the commandline first, using the shp2img<br clear="none" class="" style="">utility (<a shape="rect" href="http://mapserver.org/utilities/shp2img.html" target="_blank" class="" style="">http://mapserver.org/utilities/shp2img.html</a>).  Once your layers<br clear="none" class="" style="">look find there in the generated map image then move to your application<br clear="none" class="" style=""><br clear="none" class="" style="">- if using MapServer CGI (mode=map), a blank map often means you are not<br clear="none" class="" style="">specifically telling
 MapServer to turn on layers; try adding &LAYERS=all<br clear="none" class="" style=""><br clear="none" class="" style="">- or setting each of your layer's STATUS values to DEFAULT might work<br clear="none" class="" style="">(but this can cause lots of trouble later, so this is not often recommended)<br clear="none" class="" style=""><br clear="none" class="" style="">-jeff<br clear="none" class="" style=""><br clear="none" class="" style=""><br clear="none" class="" style=""><br clear="none" class="" style="">-- <br clear="none" class="" style="">Jeff McKenna<br clear="none" class="" style="">MapServer Consulting and Training Services<br clear="none" class="" style=""><a shape="rect" href="http://www.gatewaygeomatics.com/" target="_blank" class="" style="">http://www.gatewaygeomatics.com/</a><br clear="none" class="" style=""><br clear="none" class="" style=""><br clear="none" class="" style=""><div class="" id="yqtfd53101" style=""><br
 clear="none" class="" style="">On 2/10/2014, 11:15 AM, Stefanos Anastasiou wrote:<br clear="none" class="" style="">> Hello!!<br clear="none" class="" style="">> <br clear="none" class="" style="">> I'am having my mapfile place in /home/mapdata folder whereas I also keep<br clear="none" class="" style="">> a couple of other mapfiles too. <br clear="none" class="" style="">> I'm trying to load it in the following form on the<br clear="none" class="" style="">> browser: <a shape="rect" href="http://127.0.0.1/cgi-bin/mapserv?map=/home/mapdata/pelop.map&mode=map" target="_blank"  class="" style="">http://127.0.0.1/cgi-bin/mapserv?map=/home/mapdata/pelop.map&mode=map</a><br clear="none" class="" style="">> <br clear="none" class="" style="">> and all I get is a blank page. No errors no nothing. <br clear="none" class="" style="">> <br clear="none" class="" style="">> Then I created an html template in order to click it
 from there by<br clear="none" class="" style="">> creating a simple link (and not a from) in the following hyperlink:  <a<br clear="none" class="" style="">> href="<a shape="rect" href="http://127.0.0.1/cgi-bin/mapserv?map=/home/mapdata/pelop/map&mode=map" target="_blank"  class="" style="">http://127.0.0.1/cgi-bin/mapserv?map=/home/mapdata/pelop/map&mode=map</a>><br clear="none" class="" style="">> This link </a><br clear="none" class="" style="">> <br clear="none" class="" style="">> And I get the following error: msLoadMap(): Unable to access file.  <br clear="none" class="" style="">> <br clear="none" class="" style="">> Last time this happened I was invoking Mapserver through a form but this<br clear="none" class="" style="">> time it's just a simple link. <br clear="none" class="" style="">> <br clear="none" class="" style="">> Why is it happening ? <br clear="none" class="" style="">>
 <br clear="none" class="" style="">> The weird thing is that all the other mapfiles that are seem to be<br clear="none" class="" style="">> working are are having the same permission settings with the<br clear="none" class="" style="">> current: -rw-r--r-- <br clear="none" class="" style="">> <br clear="none" class="" style="">> Thanks a lot! </div><br clear="none" class="" style="">> <br clear="none" class="" style="">> <br clear="none" class="" style=""><br clear="none" class="" style=""><br clear="none" class="" style=""><br clear="none" class="" style=""><br clear="none" class="" style="">_______________________________________________<br clear="none" class="" style="">mapserver-users mailing list<br clear="none" class="" style=""><a shape="rect" ymailto="mailto:mapserver-users@lists.osgeo.org" href="mailto:mapserver-users@lists.osgeo.org" class="" style="">mapserver-users@lists.osgeo.org</a><br clear="none" class="" style=""><a
 shape="rect" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank" class="" style="">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><div class="" id="yqtfd56489" style=""><br clear="none" class="" style=""></div><br class="" style=""><br class="" style=""></div>  </div> </div>  </div> </div></body></html>