{\rtf1\ansi\ansicpg1252\uc1 \deff0\deflang1033\deflangfe1033{\fonttbl{\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f30\froman\fcharset238\fprq2 Times New Roman CE;}{\f31\froman\fcharset204\fprq2 Times New Roman Cyr;}
{\f33\froman\fcharset161\fprq2 Times New Roman Greek;}{\f34\froman\fcharset162\fprq2 Times New Roman Tur;}{\f35\froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f36\froman\fcharset178\fprq2 Times New Roman (Arabic);}
{\f37\froman\fcharset186\fprq2 Times New Roman Baltic;}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;
\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}{\stylesheet{\ql \li0\ri0\nowidctlpar\nooverflow\faauto\rin0\lin0\itap0 
\fs20\lang1033\langfe1033\kerning28\cgrid\langnp1033\langfenp1033 \snext0 Normal;}{\*\cs10 \additive Default Paragraph Font;}}{\info{\author BENCRA}{\operator BENCRA}{\creatim\yr2006\mo4\dy3\hr9\min4}{\revtim\yr2006\mo4\dy3\hr9\min22}{\version3}{\edmins0}
{\nofpages2}{\nofwords268}{\nofchars1531}{\*\company Wokingham District Council}{\nofcharsws0}{\vern8229}}\paperw11899\paperh16837\margl1797\margr1797 
\widowctrl\ftnbj\aenddoc\noxlattoyen\expshrtn\noultrlspc\dntblnsbdb\nospaceforul\hyphcaps0\horzdoc\dghspace120\dgvspace120\dghorigin1701\dgvorigin1984\dghshow0\dgvshow3\jcompress\viewkind1\viewscale100\nolnhtadjtbl \fet0{\*\docvar {ColorPos}{-1}}
{\*\docvar {ColorSet}{-1}}{\*\docvar {StylePos}{-1}}{\*\docvar {StyleSet}{-1}}\sectd \pgnrestart\linex0\footery864\sectdefaultcl {\header \pard\plain \ql \li0\ri0\nowidctlpar\tqc\tx4320\tqr\tx8640\nooverflow\faauto\rin0\lin0\itap0 
\fs20\lang1033\langfe1033\kerning28\cgrid\langnp1033\langfenp1033 {\kerning0 
\par }}{\footer \pard\plain \ql \li0\ri0\nowidctlpar\tqc\tx4320\tqr\tx8640\nooverflow\faauto\rin0\lin0\itap0 \fs20\lang1033\langfe1033\kerning28\cgrid\langnp1033\langfenp1033 {\kerning0 
\par }}{\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang{\pntxta .}}{\*\pnseclvl2\pnucltr\pnstart1\pnindent720\pnhang{\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang{\pntxta .}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang{\pntxta )}}
{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}{\*\pnseclvl6\pnlcltr\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}{\*\pnseclvl8
\pnlcltr\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}\pard\plain \ql \li0\ri0\nowidctlpar\nooverflow\faauto\rin0\lin0\itap0 
\fs20\lang1033\langfe1033\kerning28\cgrid\langnp1033\langfenp1033 {\b\ul Kamap Problems}{
\par 
\par }{\b Problem:
\par }{
\par The ka-map application doesn\rquote t contain my map file to load from the drop down.
\par 
\par }{\b Notes:
\par 
\par }{I am running Apache2 off Win XP.
\par }{\b 
\par Things I have checked:}{
\par 
\par 1. Mapfile. My mapfile looks like this:
\par 
\par MAP
\par   NAME global_map
\par   STATUS ON
\par   SIZE 600 300
\par   EXTENT -180 -90 180 90
\par   UNITS DD
\par   IMAGECOLOR 255 255 255
\par   IMAGETYPE png
\par   
\par   WEB
\par     IMAGEPATH "/ms4w/tmp/ms_tmp/kacache/"
\par     IMAGEURL "/ms4w/tmp/ms_tmp/kacache/"
\par   END
\par 
\par   LEGEND
\par     TRANSPARENT TRUE
\par   END
\par 
\par   SCALEBAR
\par     TRANSPARENT TRUE
\par   END
\par 
\par   LAYER 
\par     NAME countries
\par     TYPE LINE
\par     STATUS ON
\par     DATA "countries_simpl.shp"
\par     CLASS
\par       NAME "Country Boundaries"
\par       STYLE
\par         COLOR 200 100 100 
\par       END
\par     END
\par   END
\par END
\par 
\par I have checked this mapfile using shp2img (& within the map server itself) and it creat
es a PNG file of the world. So I know the mapfile is correct. I have checked the path for IMAGEPATH/URL and the folder does exist and there is no problems with the file permission. 
\par 
\par 2. Ka-Map alias setup correctly. I can access the kamap page from the MS4W local host page.
\par 
\par 3. In config.php
\par 
\par a) $szPHPMapScriptModule = 'php_mapscript_46.'.'dll';
\par $szPHPGDModule = 'php_gd2.'.'dll';
\par is correct, the files do exists.
\par 
\par b) $bDebug = TRUE; this is now set, but doesn\rquote t work because no maps are being rendered.
\par 
\par c) $aszMapFiles = array(
\par         "weather"     => array( "Global Weather",
\par                                 "/apps/ka-map-0.2/htdocs/global.map",
\par                                 array( 100000000, 50000000, 15000000 ),
\par                                 "PNG")
\par );
\par 
\par This is the $aszMapFiles detail. The global.map file exists under htdocs within apps/ ka-map-0.2/
\par 
\par d) $szBaseCacheDir =  "/ms4w/tmp/ms_tmp/kacache/"; matches the global.map file parameters IMAGEPATH/URL. But not data is being copied into kacache. I have checked the folder is writeable.
\par 
\par 4. I am using IE6
\par 
\par }}