[mapserver-users] showing blank page

Alexandre Dube adube at mapgears.com
Tue Feb 24 08:10:57 EST 2009


Hi,

  Put this in your MAP section :

  CONFIG MS_ERRORFILE   "/tmp/mymapfileerror.log"

  and this in your LAYER section :

  DEBUG 5

  Load your url and go see what the error log has to say.  You can also 
check your apache and error logs.

  Regards,

Alexandre

kmanoj-pg7 kmanoj-pg7 wrote:
> Dear users,
>
> I am following the tutorial mapserver 5.x to get a practice in the 
> mapserver. i successfully tested the examples given in the tutorial 
> and got succeed too...
>
> now i am trying by my own, means with my own shapefiles. when i called 
> the following link...
>
>
> http://localhost/cgi-bin/mapserv?map=/var/www/html/mapfiles/sampletest/htdocs/kerala.map&layer=kerala&mode=map 
> <http://localhost/cgi-bin/mapserv?map=/var/www/html/mapfiles/sampletest/htdocs/kerala.map&layer=kerala&mode=map>
>
>
> it showing blank page instead of image of my map........   what could 
> be a problem......  i couldn't puzzled it out.....
>
> This is my map file for your perusal
>
> Map
> IMAGETYPE PNG
> NAME "Gods own country"
> SIZE 400 300
> IMAGECOLOR 255 255 255
> EXTENT -97.238976 41.619778 -82.122902 49.385620
> SHAPEPATH "/var/www/html/mapfiles/sampletest/data"
>
>
> LAYER
>     NAME   kerala
>     TYPE   POLYGON
>     STATUS ON
>     DATA   parl_04
>     CLASS
>        NAME   "Greenary Land"
>         STYLE
>             COLOR 232 232 232
>             OUTLINECOLOR 32 32 32
>             END
>           END
>         END
> END
>
> can anyone help me out.....  
>
>
> Thanks
>
> kapilmanoj
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>   


-- 
Alexandre Dubé
Mapgears
www.mapgears.com



More information about the mapserver-users mailing list