<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>Hi,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>this is my first approach to ka-map,</DIV><DIV>(please apologize me for the newbie question)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>i'm on a mac OsX </DIV><DIV>as php, mapserver and phpmapscript ( i'm using the binaries package at : <A href="http://www.kyngchaos.com">http://www.kyngchaos.com</A> )</DIV><DIV>ka-map downloaded from cvs</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>following the ka-map wiki instruction i downloaded the data :</DIV><DIV>cloud.tif , <FONT class="Apple-style-span" face="Lucida Grande">countries_simpl.shp ...</FONT></DIV><DIV><FONT class="Apple-style-span" face="Lucida Grande"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" face="Lucida Grande">i copied the ka-map folder in :</FONT></DIV><DIV><FONT class="Apple-style-span" face="Lucida Grande"><BR class="khtml-block-placeholder"></FONT></DIV><DIV>/Users/epifanio/Sites/ka-map/<FONT class="Apple-style-span" face="Lucida Grande"></FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>then i put the data folder in :</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>/Users/epifanio/Sites/ka-map/htdocs/data/</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>i created a directory "tmp" with read + write permisions in :</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>/Users/epifanio/Sites/ka-map/htdocs/tmp/</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>then i modified the global.map file to load my data :</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>MAP </DIV><DIV> NAME global_map </DIV><DIV> STATUS ON </DIV><DIV> SIZE 600 300 </DIV><DIV> EXTENT -180 -90 180 90 </DIV><DIV> UNITS DD </DIV><DIV> IMAGECOLOR 255 255 255 </DIV><DIV> IMAGETYPE png </DIV><DIV> WEB </DIV><DIV> IMAGEPATH "/Users/epifanio/Sites/ka-map/htdocs/tmp/" </DIV><DIV> IMAGEURL "/ka-map/tmp/" </DIV><DIV> END </DIV><DIV> LEGEND </DIV><DIV> TRANSPARENT TRUE </DIV><DIV> END </DIV><DIV> SCALEBAR </DIV><DIV> TRANSPARENT TRUE </DIV><DIV> END </DIV><DIV> LAYER </DIV><DIV> NAME clouds </DIV><DIV> TYPE RASTER </DIV><DIV> STATUS ON </DIV><DIV> DATA "data/day_clouds.tif" </DIV><DIV> END </DIV><DIV>LAYER </DIV><DIV> NAME countries </DIV><DIV> TYPE LINE </DIV><DIV> STATUS ON </DIV><DIV> DATA "data/countries_simpl.shp" </DIV><DIV> CLASS </DIV><DIV> NAME "Country Boundaries" </DIV><DIV> STYLE </DIV><DIV> COLOR 200 100 100 </DIV><DIV> END </DIV><DIV> END </DIV><DIV> END </DIV><DIV>END #MAP END </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>i tested it using shp2image :</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>/usr/local/mapserver/bin/shp2img -m /Users/epifanio/Sites/ka-map/htdocs/global.map -o test.png</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>to set-up ka-map i modified</DIV><DIV>/Users/epifanio/Sites/ka-map/include/config.php</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>as follow :</DIV><DIV><FONT class="Apple-style-span" face="Lucida Grande"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><FONT class="Apple-style-span" face="Lucida Grande">############################################## <FONT class="Apple-style-span" face="Helvetica">config.php <FONT class="Apple-style-span" face="Lucida Grande">#####################</FONT> </FONT></FONT></DIV><DIV><FONT class="Apple-style-span" face="Lucida Grande"><BR class="khtml-block-placeholder"></FONT></DIV><DIV><?php</DIV><DIV>/**********************************************************************</DIV><DIV> *</DIV><DIV> * $Id: config.dist.php,v 1.13 2007/02/05 12:47:54 pspencer Exp $</DIV><DIV> *</DIV><DIV> * purpose: configuration file for kaMap, hopefully well documented</DIV><DIV> *</DIV><DIV> * author: Paul Spencer (<A href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</A>)</DIV><DIV> *</DIV><DIV> * TODO:</DIV><DIV> *</DIV><DIV> * - consider moving per-map configuration to metadata in map files</DIV><DIV> *</DIV><DIV> **********************************************************************</DIV><DIV> *</DIV><DIV> * Copyright (c) 2005, DM Solutions Group Inc.</DIV><DIV> *</DIV><DIV> * Permission is hereby granted, free of charge, to any person obtaining a</DIV><DIV> * copy of this software and associated documentation files (the "Software"),</DIV><DIV> * to deal in the Software without restriction, including without limitation</DIV><DIV> * the rights to use, copy, modify, merge, publish, distribute, sublicense,</DIV><DIV> * and/or sell copies of the Software, and to permit persons to whom the</DIV><DIV> * Software is furnished to do so, subject to the following conditions:</DIV><DIV> *</DIV><DIV> * The above copyright notice and this permission notice shall be included</DIV><DIV> * in all copies or substantial portions of the Software.</DIV><DIV> *</DIV><DIV> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</DIV><DIV> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</DIV><DIV> * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL</DIV><DIV> * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</DIV><DIV> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING</DIV><DIV> * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER</DIV><DIV> * DEALINGS IN THE SOFTWARE.</DIV><DIV> *</DIV><DIV> **********************************************************************/</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>/******************************************************************************</DIV><DIV> * basic system configuration</DIV><DIV> *</DIV><DIV> * kaMap! uses PHP/MapScript and the PHP GD extension to</DIV><DIV> * render tiles, and uses PHP/MapScript to generate initialization parameters</DIV><DIV> * a legend, and a keymap from the selected map file.</DIV><DIV> *</DIV><DIV> * Make sure to set the correct module names for your PHP extensions.</DIV><DIV> *</DIV><DIV> * WINDOWS USERS: you will likely need to use php_gd2.dll instead of php_gd.dll</DIV><DIV> */</DIV><DIV>$szPHPMapScriptModule = 'php_mapscript.'.PHP_SHLIB_SUFFIX;</DIV><DIV>$szPHPGDModule = 'php_gd.'.PHP_SHLIB_SUFFIX;</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>/******************************************************************************</DIV><DIV> * tile generation parameters</DIV><DIV> *</DIV><DIV> * kaMap! generates tiles to load in the client application by first rendering</DIV><DIV> * larger areas from the map file and then slicing them up into smaller tiles.</DIV><DIV> * This approach reduces the overhead of loading PHP/MapScript and PHP GD and</DIV><DIV> * drawing the map file. These larger areas are referred to as metaTiles in</DIV><DIV> * the code. You can set the size of both the small tiles and the metaTiles</DIV><DIV> * here. A reasonable size for the small tiles seems to be 200 pixels square.</DIV><DIV> * Smaller tiles seem to cause problems in client browsers by causing too many</DIV><DIV> * images to be created and thus slowing performance of live dragging. Larger</DIV><DIV> * tiles take longer to download to the client and are inefficient.</DIV><DIV> *</DIV><DIV> * The number of smaller tiles that form a metaTile can also be configured.</DIV><DIV> * This parameter allows tuning of the tile generator to ensure optimal</DIV><DIV> * performance and for label placement. MapServer will produce labels only</DIV><DIV> * within a rendered area. If the area is too small then features may be</DIV><DIV> * labelled multiple times. If the area is too large, it may exceed MapServer,s</DIV><DIV> * maximum map size (by default 2000x2000) or be too resource-intensive on the</DIV><DIV> * server, ultimately reducing performance.</DIV><DIV> */</DIV><DIV>$tileWidth = 256;</DIV><DIV>$tileHeight = 256;</DIV><DIV>$metaWidth = 6;</DIV><DIV>$metaHeight = 6;</DIV><DIV>/* $metaBuffer = Buffer size in pixels to add around metatiles to avoid</DIV><DIV> * rendering issues along the edge of the map image</DIV><DIV> */</DIV><DIV>$metaBuffer = 10;</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>/******************************************************************************</DIV><DIV> * in-image debugging information - tile location, outlines etc.</DIV><DIV> * to use this, you need to remove images from your cache first. This also</DIV><DIV> * affects the meta tiles - if debug is on, they are not deleted.</DIV><DIV> */</DIV><DIV>$bDebug = false;</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>/******************************************************************************</DIV><DIV> * aszMapFiles - an array of map files available to the application. How this</DIV><DIV> * is used is determined by the application. Each map file is entered into</DIV><DIV> * this array as a key->value pair.</DIV><DIV> *</DIV><DIV> * The key is the name to be used by the tile caching system to store cached</DIV><DIV> * tiles within the base cache directory. This key should be a single word</DIV><DIV> * that uniquely identifies the map.</DIV><DIV> *</DIV><DIV> * The value associated with each key is an array of three values. The first</DIV><DIV> * value is a human-readable name to be presented to the user (should the</DIV><DIV> * application choose to do so) and the second value is the path to the map</DIV><DIV> * file. It is assumed that the map file is fully configured for use with</DIV><DIV> * MapServer/MapScript as no error checking or setting of values is done. The</DIV><DIV> * third value is an array of scale values for zooming.</DIV><DIV> */</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV> $aszGMap = array (</DIV><DIV> 'title' => 'GMap 75',</DIV><DIV> 'path' => '../../gmap/htdocs/gmap75.map',</DIV><DIV> 'scales' => array( 40000000, 25000000, 12000000, 7500000, 3000000, 1000000 ),</DIV><DIV> 'format' =>'PNG'</DIV><DIV> /* Sample authorized_users entry. See auth.php for more details:</DIV><DIV> * ,'authorized_users' => array('popplace' => array('user1', 'user2'),</DIV><DIV> * 'park' => array('user1')</DIV><DIV> */</DIV><DIV> );</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV> $aszMapFiles = array( </DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN> "weather" => array( "Global Weather", </DIV><DIV> "/Users/epifanio/Sites/ka-map/htdocs/global.map", </DIV><DIV> array( 100000000, 50000000, 15000000 ), </DIV><DIV> "PNG")</DIV><DIV>);</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>/******************************************************************************</DIV><DIV> * figure out which map file to use and set up the necessary variables for</DIV><DIV> * the rest of the code to use. This does need to be done on every page load</DIV><DIV> * unfortunately.</DIV><DIV> *</DIV><DIV> * szMap should be set to the default map file to use but can change if</DIV><DIV> * this script is called with map=<mapname>.</DIV><DIV> */</DIV><DIV>$szMap = 'gmap';</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>/******************************************************************************</DIV><DIV> * kaMap! caching</DIV><DIV> *</DIV><DIV> * this is the directory within which kaMap! will create its tile cache. The</DIV><DIV> * directory does NOT have to be web-accessible, but it must be writable by the</DIV><DIV> * web-server-user and allow creation of both directories AND files.</DIV><DIV> *</DIV><DIV> * the tile caching system will create a separate subdirectory within the base</DIV><DIV> * cache directory for each map file. Within the cache directory for each map</DIV><DIV> * file, directories will be created for each group of layers. Within the group</DIV><DIV> * directories, directories will be created at each of the configured scales</DIV><DIV> * for the application (see mapfile configuration above.)</DIV><DIV> */</DIV><DIV>$szBaseCacheDir = "/tmp/kacache/";</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>/* Uncomment the following if you have a web accessible cache */</DIV><DIV>//$szBaseWebCache = "kacache/";</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>/******************************************************************************</DIV><DIV> * Authentication and access control:</DIV><DIV> *</DIV><DIV> * Uncomment the following lines to load auth.php and enable access control.</DIV><DIV> * See docs at the top of auth.php for more details.</DIV><DIV> */</DIV><DIV>//include_once('auth.php');</DIV><DIV>//$oAuth = new kaBasicAuthentication(&$aszMapFiles[$szMap]['authorized_users']);</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>/***** END OF CONFIGURABLE STUFF - unless you know what you are doing *****/</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>if (isset($_REQUEST['map']) && isset($aszMapFiles[$_REQUEST['map']]))</DIV><DIV>{</DIV><DIV> $szMap = $_REQUEST['map'];</DIV><DIV>}</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>$szMapCacheDir = $szBaseCacheDir.$szMap;</DIV><DIV>$szMapName = $aszMapFiles[$szMap]['title'];</DIV><DIV>$szMapFile = $aszMapFiles[$szMap]['path'];</DIV><DIV>$anScales = $aszMapFiles[$szMap]['scales'];</DIV><DIV>setOutputFormat($aszMapFiles[$szMap]['format']);</DIV><DIV>/******************************************************************************</DIV><DIV> * output format of the map and resulting tiles</DIV><DIV> *</DIV><DIV> * The output format used with MapServer can greatly affect appearance and</DIV><DIV> * performance. It is recommended to use an 8 bit format such as PNG</DIV><DIV> *</DIV><DIV> * NOTE: the tile caching code in tile.php is not configurable here. It</DIV><DIV> * currently assumes that it is outputting 8bit PNG files. If you change to</DIV><DIV> * PNG24 here then you will need to update tile.php to use the gd function</DIV><DIV> * imagecreatetruecolor. If you change the output format to jpeg then</DIV><DIV> * you would need to change imagepng() to imagejpeg(). A nice enhancement</DIV><DIV> * would be to make that fully configurable from here.</DIV><DIV> *</DIV><DIV> * DITHERED is a special output format that uses the 24bit png renderer to</DIV><DIV> * render the entire map and then quantizes the final image into some number</DIV><DIV> * number of colours just before saving, typically 256.</DIV><DIV> *</DIV><DIV> * To use DITHERED, you need MapServer 4.9 CVS after 2006-03-08, or any later</DIV><DIV> * release. You also need to create an OUTPUTFORMAT block in your</DIV><DIV> * map file as follows:</DIV><DIV> *</DIV><DIV>OUTPUTFORMAT</DIV><DIV> NAME dithered</DIV><DIV> DRIVER "GD/PNG"</DIV><DIV> EXTENSION "png"</DIV><DIV> MIMETYPE "image/png"</DIV><DIV> IMAGEMODE RGBA</DIV><DIV> TRANSPARENT OFF</DIV><DIV> FORMATOPTION "QUANTIZE_FORCE=ON"</DIV><DIV> FORMATOPTION "QUANTIZE_DITHER=OFF"</DIV><DIV> FORMATOPTION "QUANTIZE_COLORS=256"</DIV><DIV>END</DIV><DIV> *</DIV><DIV> */</DIV><DIV>function setOutputFormat($szFormat)</DIV><DIV>{</DIV><DIV> switch(strtoupper($szFormat)) {</DIV><DIV> case "DITHERED":</DIV><DIV> $GLOBALS['szMapImageFormat'] = 'dithered';</DIV><DIV> $GLOBALS['szMapImageCreateFunction'] = "imagecreatefrompng";</DIV><DIV> $GLOBALS['szImageExtension'] = '.png';</DIV><DIV> $GLOBALS['szImageCreateFunction'] = "imagecreate";</DIV><DIV> $GLOBALS['szImageOutputFunction'] = "imagepng";</DIV><DIV> $GLOBALS['szImageHeader'] = 'image/png';</DIV><DIV> break;</DIV><DIV> case "PNG24":</DIV><DIV> $GLOBALS['szMapImageFormat'] = 'PNG24';</DIV><DIV> $GLOBALS['szMapImageCreateFunction'] = "imagecreatefrompng";</DIV><DIV> $GLOBALS['szImageExtension'] = '.png';</DIV><DIV> $GLOBALS['szImageCreateFunction'] = "imagecreatetruecolor";</DIV><DIV> $GLOBALS['szImageOutputFunction'] = "imagepng";</DIV><DIV> $GLOBALS['szImageHeader'] = 'image/png';</DIV><DIV> break;</DIV><DIV> case "ALPHA":</DIV><DIV> $GLOBALS['szMapImageFormat'] = 'PNG24';</DIV><DIV> $GLOBALS['szMapImageCreateFunction'] = "imagecreatefrompng";</DIV><DIV> $GLOBALS['szImageExtension'] = '.png';</DIV><DIV> $GLOBALS['szImageCreateFunction'] = "imagecreatetruecolor";</DIV><DIV> $GLOBALS['szImageOutputFunction'] = "imagepng";</DIV><DIV> $GLOBALS['szImageHeader'] = 'image/png';</DIV><DIV> break;</DIV><DIV> case "GIF":</DIV><DIV> $GLOBALS['szMapImageFormat'] = 'GIF';</DIV><DIV> $GLOBALS['szMapImageCreateFunction'] = "imagecreatefromgif";</DIV><DIV> $GLOBALS['szImageExtension'] = '.gif';</DIV><DIV> $GLOBALS['szImageCreateFunction'] = "imagecreate";</DIV><DIV> $GLOBALS['szImageOutputFunction'] = "imagegif";</DIV><DIV> $GLOBALS['szImageHeader'] = 'image/gif';</DIV><DIV> break;</DIV><DIV> case "JPEG":</DIV><DIV> $GLOBALS['szMapImageFormat'] = 'JPEG';</DIV><DIV> $GLOBALS['szMapImageCreateFunction'] = "imagecreatefromjpeg";</DIV><DIV> $GLOBALS['szImageExtension'] = '.jpg';</DIV><DIV> $GLOBALS['szImageCreateFunction'] = "imagecreatetruecolor";</DIV><DIV> $GLOBALS['szImageOutputFunction'] = "imagejpeg";</DIV><DIV> $GLOBALS['szImageHeader'] = 'image/jpeg';</DIV><DIV> break;</DIV><DIV> case "PNG":</DIV><DIV> $GLOBALS['szMapImageFormat'] = 'PNG';</DIV><DIV> $GLOBALS['szMapImageCreateFunction'] = "imagecreatefrompng";</DIV><DIV> $GLOBALS['szImageExtension'] = '.png';</DIV><DIV> $GLOBALS['szImageCreateFunction'] = "imagecreate";</DIV><DIV> $GLOBALS['szImageOutputFunction'] = "imagepng";</DIV><DIV> $GLOBALS['szImageHeader'] = 'image/png';</DIV><DIV> break;</DIV><DIV> }</DIV><DIV>}</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>/**</DIV><DIV> * create all directories in a directory tree - found on the php web site</DIV><DIV> * under the mkdir function ...</DIV><DIV> */</DIV><DIV>function makeDirs($strPath, $mode = 0777)</DIV><DIV>{</DIV><DIV> return is_dir($strPath) or ( makeDirs(dirname($strPath), $mode) and mkdir($strPath, $mode) );</DIV><DIV>}</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>/**</DIV><DIV> * This function replaces all special characters in the given string.</DIV><DIV> *</DIV><DIV> * @param szString string - The string to convert.</DIV><DIV> *</DIV><DIV> * @return string converted</DIV><DIV> */</DIV><DIV>function normalizeString($szString)</DIV><DIV>{</DIV><DIV> // Normalize string by replacing all special characters</DIV><DIV> // e.g. "<A href="http://my.host.com/cgi-bin/mywms?">http://my.host.com/cgi-bin/mywms?</A>"</DIV><DIV> // becomes "http___my_host_com_cgi_bin_mywms_"</DIV><DIV> return preg_replace("/(\W)/", "_", $szString);</DIV><DIV>}</DIV><DIV>?></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><FONT class="Apple-style-span" face="Lucida Grande">##########################################################################################</FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>i modified this line : </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>49: $szPHPMapScriptModule = 'php_mapscript.'.PHP_SHLIB_SUFFIX;</DIV><DIV>50: $szPHPGDModule = 'php_gd.'.PHP_SHLIB_SUFFIX;</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>i added :</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV> 118: $aszMapFiles = array( </DIV><DIV>119: <SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN> "weather" => array( "Global Weather", </DIV><DIV>120: "/Users/epifanio/Sites/ka-map/htdocs/global.map", </DIV><DIV>121: array( 100000000, 50000000, 15000000 ), </DIV><DIV>122: "PNG")</DIV><DIV>123: );</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>obviously i'm missing something in it beacouse when i try to load the link :</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><A href="http://10.37.129.3/~epifanio/ka-map/htdocs/">http://10.37.129.3/~epifanio/ka-map/htdocs/</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>but it do not load the map-file, </DIV><DIV>this is the apache log :</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>computer-di-epifanio:~ epifanio$ tail /private/var/log/httpd/error_log </DIV><DIV>[Mon Sep 24 00:42:46 2007] [error] [client 10.37.129.3] File does not exist: /Users/epifanio/Sites/ka-map/htdocs/tools/kaExplorer/images/icon_set_explorer/tool_query_1.png</DIV><DIV>[Mon Sep 24 00:42:46 2007] [error] PHP Notice: Undefined index: gmap in /Users/epifanio/Sites/ka-map/include/config.php on line 171</DIV><DIV>[Mon Sep 24 00:42:46 2007] [error] PHP Notice: Undefined index: gmap in /Users/epifanio/Sites/ka-map/include/config.php on line 172</DIV><DIV>[Mon Sep 24 00:42:46 2007] [error] PHP Notice: Undefined index: gmap in /Users/epifanio/Sites/ka-map/include/config.php on line 173</DIV><DIV>[Mon Sep 24 00:42:46 2007] [error] PHP Notice: Undefined index: gmap in /Users/epifanio/Sites/ka-map/include/config.php on line 174</DIV><DIV>[Mon Sep 24 00:42:47 2007] [error] PHP Notice: Undefined index: path in /Users/epifanio/Sites/ka-map/htdocs/init.php on line 124</DIV><DIV>[Mon Sep 24 00:42:47 2007] [error] PHP Notice: Undefined index: scales in /Users/epifanio/Sites/ka-map/htdocs/init.php on line 125</DIV><DIV>[Mon Sep 24 00:42:47 2007] [error] PHP Warning: implode() [<a href='function.implode'>function.implode</a>]: Bad arguments. in /Users/epifanio/Sites/ka-map/htdocs/init.php on line 125</DIV><DIV>[Mon Sep 24 00:42:47 2007] [error] PHP Warning: Invalid argument supplied for foreach() in /Users/epifanio/Sites/ka-map/htdocs/init.php on line 151</DIV><DIV>[Mon Sep 24 00:42:47 2007] [error] PHP Notice: Undefined index: title in /Users/epifanio/Sites/ka-map/htdocs/init.php on line 240</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>thanks for any suggestion on how to set-up the file config.php :-)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>regards,</DIV><DIV>Massimo.</DIV><DIV><BR class="khtml-block-placeholder"></DIV></BODY></HTML>