I hate it when that happens... <br><br>In my experience the sollution either lies in the config.php file or an error in the mapfile. Try to first get the sample data displaying (use a mapfile that you know is good). Also, try searching around the wiki for tips on installing ka-map.
<br><br>Let us know how it goes... <br><br>I have a question of my own on the same subject; perhaps someone else could help? <span style="text-decoration: underline;"></span>... Is there a way to enable debugging output so it is easier to track where the error is coming from?
<br><br>Bailey, sonce you are trying to get a fresh install working, try documenting all the steps you do so that we can put them up on the wiki... I had similar troubles when trying to do the first install.<br><br>Sam<br>
<br><a href="?tab=wm&shva=1&auth=DQAAAHsAAAChE86N8Bo3nA2MhZAFDiRvMEwSXSNreW58Zh5YaNGZiVDzYHwZNl6ypPrkMDdgIx14R1mlEWVXTGndbQLdf5QL06OCVhog441hB0vhfPqlyJ1XFKmaAorp9wUyQ3FthCRCW83P50bMwWyppPIukbit4kfp8uOhlAZBKgqex8OHtw">
</a><br><br><div><span class="gmail_quote">On 7/12/07, <b class="gmail_sendername">Bailey</b> <<a href="mailto:Bailey@texassabal.com">Bailey@texassabal.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div><pre><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Ka-map is not showing a map. I only get the sample interface. I think I followed all the instructions for a Windows installation, and article "Build Ajax Based Web Maps Using Ka-map",
</span></font></pre><pre><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">but please look at the following. Any mistakes? Recommendations?</span></font></pre><pre><font face="Arial" size="2">
<span style="font-size: 10pt; font-family: Arial;"> </span></font></pre><pre><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">OS: Windows XP</span></font></pre><pre><font face="Arial" size="2">
<span style="font-size: 10pt; font-family: Arial;">Ms4w package. ms4w_2.2.4.zip</span></font></pre><pre><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Ka map package: ka-map-ms4w-1.0.zip</span>
</font></pre><pre><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></pre><pre><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">The following tests where successful.
</span></font></pre><pre><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></pre><pre><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Mapserver Tested installation with "
</span></font><code><font face="Courier New">shp2img -m global.map -o test.png", successful.</font></code></pre><pre><code><font face="Courier New" size="2"><span style="font-size: 10pt;">Ka-map installation appeared successful.
<a href="http://localhost/kamap" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://localhost/kamap</a> displays ka-map sample interface.</span></font></code></pre><pre><code><font face="Courier New" size="2">
<span style="font-size: 10pt;"> </span></font></code></pre><pre><code><font face="Courier New" size="2"><span style="font-size: 10pt;">global.map is same as in install. article other than </span></font></code></pre><pre><font color="black" face="Courier New" size="2">
<span style="font-size: 10pt; color: black;">WEB<br>
IMAGEPATH "/ms4w/apps/ka-map-1.0/htdocs/tmp/"<br>
IMAGEURL "/kamap/tmp/"<br>
END</span></font></pre><pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;"> </span></font></pre><pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;">
Apache config added:</span></font></pre><pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;">Alias /kamap/ "/ms4w/apps/ka-map-1.0/htdocs/"<br>
<Directory </span></font><font color="#0000f0"><span style="color: rgb(0, 0, 240);">"/ms4w/apps/ka-map-1.0/htdocs/"</span></font><font color="black"><span style="color: black;">><br>
AllowOverride None<br>
Options Indexes FollowSymLinks Multiviews <br>
Order allow,deny<br>
Allow from all<br>
</Directory></span></font></pre><pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;"> </span></font></pre><pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;">
global.map and 'data' folder both in C:/</span></font><font color="green"><span style="color: green;">ms4w/apps/ka-map-1.0/htdocs/</span></font></pre><pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;">
</span></font></pre><pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;">Ka-map config.php map settings are: </span></font></pre><pre><b><font color="black" face="Courier New" size="2">
<span style="font-size: 10pt; color: black; font-weight: bold;">$aszGMap</span></font></b><font color="black"><span style="color: black;"> <b><span style="font-weight: bold;">=</span></b> <b><span style="font-weight: bold;">
array</span></b> <b><span style="font-weight: bold;">(</span></b><br>
</span></font><font color="green"><span style="color: green;">'title'</span></font><font color="black"><span style="color: black;"> <b><span style="font-weight: bold;">=></span></b> </span></font><font color="green">
<span style="color: green;">'Global Weather'</span></font><b><font color="black"><span style="color: black; font-weight: bold;">,</span></font></b><font color="black"><span style="color: black;"><br>
</span></font><font color="green"><span style="color: green;">'path'</span></font><font color="black"><span style="color: black;"> <b><span style="font-weight: bold;">=></span></b> </span></font><font color="green">
<span style="color: green;">'/ms4w/apps/ka-map-1.0/htdocs/global.map'</span></font><b><font color="black"><span style="color: black; font-weight: bold;">,</span></font></b><font color="black"><span style="color: black;">
<br>
</span></font><font color="green"><span style="color: green;">'scales'</span></font><font color="black"><span style="color: black;"> <b><span style="font-weight: bold;">=></span></b> <b><span style="font-weight: bold;">
array(</span></b> </span></font><font color="green"><span style="color: green;">100000000</span></font><b><font color="black"><span style="color: black; font-weight: bold;">,</span></font></b><font color="black"><span style="color: black;">
</span></font><font color="green"><span style="color: green;">50000000</span></font><b><font color="black"><span style="color: black; font-weight: bold;">,</span></font></b><font color="black"><span style="color: black;">
</span></font><font color="green"><span style="color: green;">15000000</span></font><font color="black"><span style="color: black;"> <b><span style="font-weight: bold;">),</span></b><br>
</span></font><font color="green"><span style="color: green;">'format'</span></font><font color="black"><span style="color: black;"> <b><span style="font-weight: bold;">=></span></b></span></font><font color="green">
<span style="color: green;">'PNG'</span></font><font color="black"><span style="color: black;"><br>
</span></font><font color="green"><span style="color: green;">/* Sample authorized_users entry. See auth.php for more details:<br>
* ,'authorized_users' => array('popplace' => array('user1', 'user2'),<br>
* 'park' => array('user1')<br>
*/</span></font><font color="black"><span style="color: black;"><br>
<b><span style="font-weight: bold;">);</span></b><br>
<br>
<br>
<b><span style="font-weight: bold;">$aszMapFiles</span></b> <b><span style="font-weight: bold;">=</span></b> <b><span style="font-weight: bold;">array(</span></b> </span></font><font color="green"><span style="color: green;">
'weather'</span></font><font color="black"><span style="color: black;"> <b><span style="font-weight: bold;">=></span></b> <b><span style="font-weight: bold;">$aszGMap);</span></b></span></font></pre><pre><font color="black" face="Courier New" size="2">
<span style="font-size: 10pt; color: black;"> </span></font></pre><pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;"> </span></font></pre><pre><font color="black" face="Courier New" size="2">
<span style="font-size: 10pt; color: black;">I notice that there are also 'config.dist.php' and 'config.dist.php' in the ms4w\apps\ka-map-1.0\include folder. I have not modified these files.</span></font></pre><pre><font color="black" face="Courier New" size="2">
<span style="font-size: 10pt; color: black;"> </span></font></pre><pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;">Thanks,</span></font></pre><pre><font color="black" face="Courier New" size="2">
<span style="font-size: 10pt; color: black;"> </span></font></pre><pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;">Bailey</span></font></pre><pre><font color="black" face="Courier New" size="2">
<span style="font-size: 10pt; color: black;"> </span></font></pre><pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black;"> </span></font></pre><pre><font color="black" face="Courier New" size="2">
<span style="font-size: 10pt; color: black;"> </span></font></pre><pre><code><font face="Courier New" size="2"><span style="font-size: 10pt;"> </span></font></code></pre>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
</div>
</div>
<br>_______________________________________________<br>ka-Map-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org</a>
<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.maptools.org/mailman/listinfo/ka-map-users" target="_blank">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br><br></blockquote>
</div><br>