2014-08-19 15:42 GMT+02:00 Ceyhun Ganioglu <ceyhunganio...@gmail.com>:

> 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
>

​Be sure mapserver is​ doing well with your mapfile using shp2img utility,
it should generate an image without errors.
------------------------------------------------------------------------------
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to