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
答案 0 :(得分:1)
(1)确保你的bandi.map存在于路径D:\ ms4w \ apps \ seri \ map / bandi.map中,因为那是php Mapscript寻找你的mapfile的地方。
(2)如果对第(1)点的回答是YES,那么请仔细检查mapfile的语法是否存在问题,这可以通过访问浏览器并将URL设置为http://localhost/cgi-bin/mapserv.exe?map=D:\ms4w\apps\seri\map\bandi.map
来完成。 ..查看它在浏览器窗口中返回的消息。