<a href="mailto:ka-map-users@lists.maptools.org">ka-map-users@lists.maptools.org</a><br><br><div class="gmail_quote">2008/5/19 Lorenzo Becchi <<a href="mailto:lorenzo@ominiverdi.com">lorenzo@ominiverdi.com</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Jaisen, there's no need to send three e-mail with the same message.<br>
<br>
on line 107:<br>
------------------------------<br>
$aszMapFiles = array(<br>
------------------------------<br>
should be:<br>
------------------------------<br>
$aszGMap = array(<br>
------------------------------<br>
<br>
lorenzo<br>
<br>
<br>
<br>
Jaisen N.D. wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
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..<br>
<br></div>
2008/5/17 Lorenzo Becchi <<a href="mailto:lorenzo@ominiverdi.com" target="_blank">lorenzo@ominiverdi.com</a> <mailto:<a href="mailto:lorenzo@ominiverdi.com" target="_blank">lorenzo@ominiverdi.com</a>>>:<div class="Ih2E3d">
<br>
<br>
it would be better you start from scratch with the config.php<br>
you have to pay attention not to change the syntax but only the<br>
content...<br>
<br>
<br></div><div class="Ih2E3d">
<a href="mailto:jaisuvyas@gmail.com" target="_blank">jaisuvyas@gmail.com</a> <mailto:<a href="mailto:jaisuvyas@gmail.com" target="_blank">jaisuvyas@gmail.com</a>> wrote:<br>
<br></div><div><div></div><div class="Wj3C7c">
Hi,<br>
Thanks for your prompt response. Yes, I changed those lines<br>
as per your suggestion. But still map is not loading... Now<br>
the htdocs/init.php shows error message in a different way. It<br>
show as follows :-<br>
--------------------------------------------------<br>
Warning: [MapServer Error]: msEvalRegex(): String (G) failed<br>
expression test. in<br>
/var/www/ka-map-1.0-20070205/htdocs/init.php on line 124<br>
<br>
Warning: Failed to open map file G in<br>
/var/www/ka-map-1.0-20070205/htdocs/init.php on line 124<br>
<br>
Warning: implode() [function.implode]: Bad arguments. in<br>
/var/www/ka-map-1.0-20070205/htdocs/init.php on line 125<br>
<br>
Fatal error: Call to a member function getMetaData() on a<br>
non-object in /var/www/ka-map-1.0-20070205/htdocs/init.php on<br>
line 130<br>
--------------------------------------------------<br>
<a href="http://localhost/ka-map/tile.php" target="_blank">http://localhost/ka-map/tile.php</a> is showing the same error,<br>
which it shown before.<br>
--------------------------------------------------<br>
When I issued the following command in console, it returns as<br>
follows:-<br>
--------------------------------------------------<br>
user@localhost:~$ php<br>
/var/www/ka-map-1.0-20070205/htdocs/precache.php -f<br>
<a href="http://localhost/ka-map/tile.php" target="_blank">http://localhost/ka-map/tile.php</a><br>
<br>
Warning: include(../include/config.php): failed to open<br>
stream: No such file or directory in<br>
/var/www/ka-map-1.0-20070205/htdocs/precache.php on line 44<br>
<br>
Warning: include(): Failed opening '../include/config.php' for<br>
inclusion (include_path='.:/usr/local/lib/php') in<br>
/var/www/ka-map-1.0-20070205/htdocs/precache.php on line 44<br>
<br>
Warning: dl(): Unable to load dynamic library<br>
'/usr/local/lib/php/extensions/no-debug-non-zts-20060613/' -<br>
/usr/local/lib/php/extensions/no-debug-non-zts-20060613/:<br>
cannot open shared object file: No such file or directory in<br>
/var/www/ka-map-1.0-20070205/htdocs/precache.php on line 46<br>
<br>
Warning: Invalid argument supplied for foreach() in<br>
/var/www/ka-map-1.0-20070205/htdocs/precache.php on line 82<br>
user@localhost:~$<br>
--------------------------------------------------<br>
Where I did a mistake?<br>
<br>
<br>
2008/5/17 Lorenzo Becchi <<a href="mailto:lorenzo@ominiverdi.com" target="_blank">lorenzo@ominiverdi.com</a><br></div></div>
<mailto:<a href="mailto:lorenzo@ominiverdi.com" target="_blank">lorenzo@ominiverdi.com</a>> <mailto:<a href="mailto:lorenzo@ominiverdi.com" target="_blank">lorenzo@ominiverdi.com</a><div class="Ih2E3d"><br>
<mailto:<a href="mailto:lorenzo@ominiverdi.com" target="_blank">lorenzo@ominiverdi.com</a>>>>:<br>
<br>
<br>
----------------------------------------<br>
$aszMapFiles = array(<br>
"weather" => array( "Global Weather",<br>
"/var/www/ka-map-1.0-20070205/htdocs/global.map",<br>
array( 100000000, 50000000,<br>
15000000 ),<br>
"PNG")<br>
);<br>
-----------------------------------------<br>
<br>
probably as<br>
----------------------------------------<br>
<br>
$aszMapFiles = array (<br>
'title' => 'Global Weather',<br>
'path' =><br>
'/var/www/ka-map-1.0-20070205/htdocs/global.map',<br>
'scales' => array( 100000000, 50000000, 15000000 ),<br>
'format' =>'PNG'<br>
);<br>
<br>
-----------------------------------------<br>
<br>
<br>
am I wrong?<br>
<br>
<br>
Lorenzo<br>
<br>
<br>
<a href="mailto:jaisuvyas@gmail.com" target="_blank">jaisuvyas@gmail.com</a> <mailto:<a href="mailto:jaisuvyas@gmail.com" target="_blank">jaisuvyas@gmail.com</a>><br></div><div><div></div><div class="Wj3C7c">
<</div></div></blockquote></blockquote></div><br clear="all"><br>-- <br>(`'·.¸(`'·.¸ ¸.·'´)¸.·'´)<br>«´¨`·*Jaisen.*..´¨`»<br>(¸.·'´(¸.·'´ `'·.¸)`'·.¸)<br>¸.·´<br>( `·.¸<br>`·.¸ )<br>
¸.·)´<br>(.·´<br>( `v´ )<br> `v´