Problem installing ka-map 1.0 with ms4w 2.2.2
carlos gordon
cagb78 at YAHOO.COM
Fri Jun 8 10:41:40 PDT 2007
Hi all!
I´m trying to configure it the installation of ka-map with ms4w but i have many troubles making it works properly, at first these are the steps i follow:
1. Creation of mapfile
2. Configured the Apache web alias
3. Before that i have to run the setenv.bat file to set the .dll path
4. Defining alias and restartig Apache:
Alias /kamap "/ms4w/apps/ka-map-1.0/htdocs"
<Directory "/ms4w/apps/ka-map-1.0">
AllowOverride None
Options Indexes FollowSymLinks Multiviews
Order allow,deny
Allow from all
</Directory>
5. Configuring config.php
First, pointing to php modules:
$szPHPMapScriptModule = "php_mapscript_4.10.0.".PHP_SHLIB_SUFFIX;
$szPHPGDModule = 'php_gd2.' .PHP_SHLIB_SUFFIX;
Later, defining the map array
$aszMapFiles = array(
"PanamaMap" => array( "Provincias Panama",
"/ms4w/apps/kamap-1.0/htdocs/mapas/map/panama.map",
array( 250000, 120000, 75000, 30000, 10000 ),
"PNG")
);
* szMap should be set to the default map file to use but can change if
* this script is called with map=<mapname>.
*/
$szMap = 'PanamaMap';
Setting the directories for cache
* for the application (see mapfile configuration above.)
*/
$szBaseCacheDir = "C:/ms4w/tmp/ms_tmp/";
/* Uncomment the following if you have a web accessible cache */
$szBaseWebCache = "../tmp/ms_tmp/";
But it doesn´t seem to work properly, because when i go to http://localhost:8080/ka-map/, the browser IE 6.0, send me this message:
Line: 76
Char: 1
Error: Object expected
Code: 0
URL: http://localhost:8080/ka-map/
I'm using the ms4w 2.2.2 version and ka-map 1.0 on Windows XP 64x
I have like one week figthing with this problem, because i need to configure kamap to create tiles and use it with Open Layers as a web client in my project.
Thanxs in advanced,
Carlos A. Gordón
Especialista en GIS
Tel. (507) 665-49715
cagb78 at nuzkiamedia.com
Vía Sonadora, casa 5,
Penonome, Provincia de Coclé
Panamá
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070608/d75f3929/attachment.htm>
More information about the MapServer-users
mailing list