Hi again, Sorry I have more information about my problem.
I installed Fiddler and listened to port 8000 which both Map Server and PMAPPER works on. I saw the following error message <br /> <b>Warning</b>: [MapServer Error]: msSaveImageGD(): Unable to open file /opt/fgs/www/cgi-bin/4a37911bb4496d39dbdecb422b3374141408109934053525300.png for writing in <b>/opt/fgs/www/htdocs/pmapper/incphp/common.php</b> on line <b>315</b><br /> <br /> <b>Fatal error</b>: Failed writing image to 4a37911bb4496d39dbdecb422b3374141408109934053525300.png in <b>/opt/fgs/www/htdocs/pmapper/incphp/common.php</b> on line <b>315</b><br /> Then I gave full permission to the folder to check if it works Now I got the message of: <br /> <b>Warning</b>: Division by zero in <b>/opt/fgs/www/htdocs/pmapper/incphp/map/map.php</b> on line <b>299</b><br /> <br /> <b>Warning</b>: Division by zero in <b>/opt/fgs/www/htdocs/pmapper/incphp/map/map.php</b> on line <b>300</b><br /> <br /> <b>Warning</b>: Division by zero in <b>/opt/fgs/www/htdocs/pmapper/incphp/map/map.php</b> on line <b>301</b><br /> <br /> <b>Warning</b>: Division by zero in <b>/opt/fgs/www/htdocs/pmapper/incphp/map/map.php</b> on line <b>302</b><br /> <br /> <b>Warning</b>: Division by zero in <b>/opt/fgs/www/htdocs/pmapper/incphp/map/map.php</b> on line <b>303</b><br /> <br /> <b>Warning</b>: Division by zero in <b>/opt/fgs/www/htdocs/pmapper/incphp/map/map.php</b> on line <b>304</b><br /> {"sessionerror":"false", "mapURL":"4a37911bb4496d39dbdecb422b3374141408110404085598800.png", "scalebarURL":"4a37911bb4496d39dbdecb422b3374141408110405045064700.png", "geo_scale":"22520", "refreshToc":"0", "refreshLegend":"1", "urlPntStr":"", "mapW":"1635", "mapH":"844", "refW":"0", "refH":"0", "minx_geo":"379739.612304", "maxy_geo":"4543712.5", "xdelta_geo":"12983.806642", "ydelta_geo":"6698.5", "refBoxStr":"0,0,0,0" } I hope it helps to understand what the problem is. Many thanks -------- Özgün ileti -------- Konu: Map viewing problem Tarih: Tue, 19 Aug 2014 16:17:03 +0300 Kimden: Ceyhun Ganioglu <ceyhunganio...@gmail.com> Kime: pmapper-users@lists.sourceforge.net Hi all, I am a newbie for both Map Server and PMapper. I installed Map Server via FGS. And created a map file using QGIS. It works fine when I send http://192.168.2.88:8000/cgi-bin/mapserv?mode=map&map=/opt/fgs/www/cgi-bin/beylikduzugis.map&layer=geoyol and the map file setting on PMapper is <mapFile>/opt/fgs/www/cgi-bin/beylikduzugis.map</mapFile> There are only three simple PostGIS layers which are geoyol, parsel, geokapi in .map file. I get no error messages on PMapper (also checked the page source) But the map is not displayed. My current map file is as follows (previously there were groups etc. It did not work like that also so I removed.) : <map> <mapFile>/opt/fgs/www/cgi-bin/beylikduzugis.map</mapFile> <tplMapFile>common/template.map</tplMapFile> <categories> <category name="geoyol"> <group>geoyol</group> </category> <category name="geokapi"> <group>geokapi</group> </category> <category name="parsel"> <group>parsel</group> </category> </categories> <layerAutoRefresh>1</layerAutoRefresh> <imgFormat>png</imgFormat> <altImgFormat>jpeg</altImgFormat> <!-- <altImgFormatLayers> <layer>jpl_wms_global_mosaic</layer> <layer>dem</layer> </altImgFormatLayers> --> <sliderMax>max</sliderMax> <sliderMin>100000</sliderMin> </map> Could anyone give me an idea what the wrong thing is with this configuration? Many thanks. ------------------------------------------------------------------------------ _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users