[ka-Map-users] Problem installing ka-map 1.0 with ms4w 2.2.2

Yamaju yamaju at yr.tnc.ne.jp
Sun Jun 10 20:24:02 EDT 2007


Hi Carlos,

have you checked this troubleshooting page?

http://ka-map.ominiverdi.org/wiki/index.php/Troubleshooting

Junya

carlos gordon wrote:
>
>     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á
>
>
>
>
> 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á
> ------------------------------------------------------------------------
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>   





More information about the ka-Map-users mailing list