hi,
I prepared my ka-map web application according the steps in
Build AJAX-Based Web Maps Using ka-Map But when I type http://localhost on my browser the ka-map interface appeare but without my map.. and this error appear: Warning: Invalid argument supplied for foreach () in c:\kamap\htdocs\init.php on line 75 Fatal error: [MapServer error] : setExtent(): Given map extent invalid. Check that it is in the form:minx,miny, maxx,maxy in c:\kamap\htdocs\init.php on line 93 here is my map file global.map: MAP LEGEND SCALEBAR LAYER please help me to solve this error Don't just search. Find. MSN Search Check out the new MSN Search! _______________________________________________ Mapserver-west mailing list [hidden email] http://lists.maptools.org/mailman/listinfo/mapserver-west |
Hi,
I also read and followed the article (http://www.xml.com/pub/a/2005/08/10/ka-map.html?page=1), and had this problem. I managed solved it after about three hours of effort. The problem is actually very easy to fix.
In your config.php file go to line 105 (that's what it is in mine) or the line that starts $szMap this should say something like:
$szMap = 'gmap';
Change this to:
$szMap = 'weather';
This tells the system the default MAP file to load, therefore if it points to a non-existent file, it gives an error. Other than this the instructions are correct.
|
Free forum by Nabble | Edit this page |