[ka-Map-users] First installation of kamap.
Jason Fournier
jfournier at dmsolutions.ca
Wed Dec 7 21:06:56 EST 2005
Hazmy,
I think the issue may be that you are pointing to a phtml file rather
than the mapfile. I think it should be something like:
$aszMapFiles = array(
"gmap" => array( "GMap", "/opt/fgs/apps/gmap-ms40/map/gmap.map",
array( 15000000, 7500000, 3000000, 1000000 ),
"PNG")
Best Regards,
Jason
hazmy hazeman wrote:
> Hi,
>
> Im really new to kamap and I have tried google and searching the archives
> for solutions but could not found any. When I tried to open the URL and I
> have found this error message.
>
> [MapServer Error]: msEvalRegex(): String
> (/opt/fgs/apps/gmap-ms40/htdocs/gmap75.phtml) failed expression test. in
> /opt/fgs/www/htdocs/ka-map/init.php on line 44
>
> Warning: Failed to open map file /opt/fgs/apps/gmap-ms40/htdocs/gmap75.phtml
> in /opt/fgs/www/htdocs/ka-map/init.php on line 44
>
> Fatal error: Call to a member function on a non-object in
> /opt/fgs/www/htdocs/ka-map/init.php on line 63
>
> This is what I have done:
>
> OS: Fedora 3.
>
> 1. First I installed fgs-gmap-demo-0.2.4-linux-i386.bin, to test the demo
> file. Everything is working fine. I can view the demo map.
>
> 2. Then I copied kamap htdocs (kamap-0.1.1) into /opt/fgs/www/htdocs/ka-map/
>
> My config file:
>
> $szPHPMapScriptModule = 'php_mapscript_46.'.PHP_SHLIB_SUFFIX;
> $szPHPGDModule = 'php_gd.'.PHP_SHLIB_SUFFIX;
>
> $aszMapFiles = array(
> "gmap" => array( "GMap", "/opt/fgs/apps/gmap-ms40/htdocs/gmap75.phtml",
> array( 15000000, 7500000, 3000000, 1000000 ),
> "PNG")
>
> $szMap = 'gmap';
>
>
>
> Any guide to solved this problem would be appreciated.
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
>
--
________________________
Jason Fournier
DM Solutions Group Inc.
jfournier at dmsolutions.ca
www.dmsolutions.ca
613.565.5056 x18
More information about the ka-Map-users
mailing list