[ka-Map-users] Ka-map on Debian etch - map not loading - help
needed.
Jaisen N.D.
jaisuvyas at gmail.com
Mon May 19 01:22:56 EDT 2008
ka-map-users at lists.maptools.org
2008/5/19 Lorenzo Becchi <lorenzo at ominiverdi.com>:
> Jaisen, there's no need to send three e-mail with the same message.
>
> on line 107:
> ------------------------------
> $aszMapFiles = array(
> ------------------------------
> should be:
> ------------------------------
> $aszGMap = array(
> ------------------------------
>
> lorenzo
>
>
>
> Jaisen N.D. wrote:
>
>> Hai.. I did it with a fresh config.php. But the problem remains as such. I
>> am attaching my config.php and global.map herewith. Please point out the
>> problem in those files..
>>
>> 2008/5/17 Lorenzo Becchi <lorenzo at ominiverdi.com <mailto:
>> lorenzo at ominiverdi.com>>:
>>
>> it would be better you start from scratch with the config.php
>> you have to pay attention not to change the syntax but only the
>> content...
>>
>>
>> jaisuvyas at gmail.com <mailto:jaisuvyas at gmail.com> wrote:
>>
>> Hi,
>> Thanks for your prompt response. Yes, I changed those lines
>> as per your suggestion. But still map is not loading... Now
>> the htdocs/init.php shows error message in a different way. It
>> show as follows :-
>> --------------------------------------------------
>> Warning: [MapServer Error]: msEvalRegex(): String (G) failed
>> expression test. in
>> /var/www/ka-map-1.0-20070205/htdocs/init.php on line 124
>>
>> Warning: Failed to open map file G in
>> /var/www/ka-map-1.0-20070205/htdocs/init.php on line 124
>>
>> Warning: implode() [function.implode]: Bad arguments. in
>> /var/www/ka-map-1.0-20070205/htdocs/init.php on line 125
>>
>> Fatal error: Call to a member function getMetaData() on a
>> non-object in /var/www/ka-map-1.0-20070205/htdocs/init.php on
>> line 130
>> --------------------------------------------------
>> http://localhost/ka-map/tile.php is showing the same error,
>> which it shown before.
>> --------------------------------------------------
>> When I issued the following command in console, it returns as
>> follows:-
>> --------------------------------------------------
>> user at localhost:~$ php
>> /var/www/ka-map-1.0-20070205/htdocs/precache.php -f
>> http://localhost/ka-map/tile.php
>>
>> Warning: include(../include/config.php): failed to open
>> stream: No such file or directory in
>> /var/www/ka-map-1.0-20070205/htdocs/precache.php on line 44
>>
>> Warning: include(): Failed opening '../include/config.php' for
>> inclusion (include_path='.:/usr/local/lib/php') in
>> /var/www/ka-map-1.0-20070205/htdocs/precache.php on line 44
>>
>> Warning: dl(): Unable to load dynamic library
>> '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/' -
>> /usr/local/lib/php/extensions/no-debug-non-zts-20060613/:
>> cannot open shared object file: No such file or directory in
>> /var/www/ka-map-1.0-20070205/htdocs/precache.php on line 46
>>
>> Warning: Invalid argument supplied for foreach() in
>> /var/www/ka-map-1.0-20070205/htdocs/precache.php on line 82
>> user at localhost:~$
>> --------------------------------------------------
>> Where I did a mistake?
>>
>>
>> 2008/5/17 Lorenzo Becchi <lorenzo at ominiverdi.com
>> <mailto:lorenzo at ominiverdi.com> <mailto:lorenzo at ominiverdi.com
>> <mailto:lorenzo at ominiverdi.com>>>:
>>
>>
>> ----------------------------------------
>> $aszMapFiles = array(
>> "weather" => array( "Global Weather",
>>
>> "/var/www/ka-map-1.0-20070205/htdocs/global.map",
>> array( 100000000, 50000000,
>> 15000000 ),
>> "PNG")
>> );
>> -----------------------------------------
>>
>> probably as
>> ----------------------------------------
>>
>> $aszMapFiles = array (
>> 'title' => 'Global Weather',
>> 'path' =>
>> '/var/www/ka-map-1.0-20070205/htdocs/global.map',
>> 'scales' => array( 100000000, 50000000, 15000000 ),
>> 'format' =>'PNG'
>> );
>>
>> -----------------------------------------
>>
>>
>> am I wrong?
>>
>>
>> Lorenzo
>>
>>
>> jaisuvyas at gmail.com <mailto:jaisuvyas at gmail.com>
>> <
>>
>
--
(`'·.¸(`'·.¸ ¸.·'´)¸.·'´)
«´¨`·*Jaisen.*..´¨`»
(¸.·'´(¸.·'´ `'·.¸)`'·.¸)
¸.·´
( `·.¸
`·.¸ )
¸.·)´
(.·´
( `v´ )
`v´
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20080519/128f2159/attachment-0001.html
More information about the ka-Map-users
mailing list