-1
Warning: [MapServer Error]: msLoadMap(): in D:\ms4w\apps\seri\htdocss\common\wrapper\map_session.php on line 215

Warning: Failed to open map file D:\ms4w\apps\seri\htdocs/../map/bandi.map in D:\ms4w\apps\seri\htdocss\common\wrapper\map_session.php on line 215

Notice: Trying to get property of non-object in D:\ms4w\apps\seri\htdocss\widgets\KeyMapDHTML\KeyMapDHTML.widget.php on line 115

Fatal error: Call to a member function set() on a non-object in D:\ms4w\apps\seri\htdocss\widgets\KeyMapDHTML\KeyMapDHTML.widget.php on line 115
4

1 回答 1

1

(1) 确保您的 bandi.map 存在于路径 D:\ms4w\apps\seri\map/bandi.map 因为那是 php Mapscript 正在寻找您的地图文件的地方。

(2) 如果对第 (1) 点的回答为“是”,那么请仔细检查您的 mapfile 的语法是否不会导致问题,这可以通过转到您的浏览器并将 URL 设置为http://localhost/cgi-bin/mapserv.exe?map=D:\ms4w\apps\seri\map\bandi.map.... 查看它返回的消息来完成在您的浏览器窗口中。

于 2013-04-27T06:07:17.163 回答