hello users...<br>
<br>
I am a newbie to mapserver. i am trying to get the gamp demo to run in my<br>
machine fedora 9. i have installed mapserver 5.0.3-3 and php-mapserver<br>
5.0.3-3 extension for php/mapscripting. Moreover i installed all the<br>
libraries and packges whatever mentioned in the installation documentation<br>
perfectly.<br>
<br>
i have added the AddTypes in the httpd.cong. Perhaps i have made the edits<br>
in the php.ini file. now when i call the<br>
<br>
<a href="http://localhost/gmap/gmap75.phtml" target="_blank">http://localhost/gmap/gmap75.phtml</a><br>
<br>
i stunned to see everything is projecting except the map is not rendering.<br>
at the beginning i thought it might be a problem of the java mode is enabled<br>
then i tried to disabled that but i failed it was also not working means the<br>
button was not working.... Then i looked into the httpd error log file ...<br>
i got this following error............<br>
<br>
[Wed Feb 11 15:06:53 2009] [error] [client 127.0.0.1] PHP Notice: Undefined<br>
variable: HTTP_POST_VARS in /var/www/html/gmap-ms46/<div id=":6e" class="ArwC7c ckChnd">htdocs/gmap75.inc.php on<br>
line 40, referer:<br>
[Wed Feb 11 15:06:54 2009] [error] [client 127.0.0.1] PHP Notice: Undefined<br>
variable: HTTP_GET_VARS in /var/www/html/gmap-ms46/htdocs/gmap75.inc.php on<br>
line 42, referer:<br>
[Wed Feb 11 15:06:54 2009] [error] [client 127.0.0.1] PHP Notice: Use of<br>
undefined constant MS_GIF - assumed 'MS_GIF' in<br>
/var/www/html/gmap-ms46/htdocs/gmap75.inc.php on line 53, referer://<br>
[Wed Feb 11 15:06:54 2009] [error] [client 127.0.0.1] PHP Notice: Use of<br>
undefined constant MS_GIF - assumed 'MS_GIF' in<br>
/var/www/html/gmap-ms46/htdocs/gmap75.inc.php on line 54, referer:<br>
[Wed Feb 11 15:06:57 2009] [error] [client 127.0.0.1] PHP Notice: Undefined<br>
index: MAP_NAME in /var/www/html/gmap-ms46/htdocs/gmap75.phtml on line 589,<br>
referer://<br>
[Wed Feb 11 15:07:16 2009] [error] [client 127.0.0.1] File does not exist:<br>
/var/www/html/gmap-ms46/htdocs/netscape<br>
<br>
<br>
Then i opened my gmap75.phtml file i did some modification means i changed<br>
the value of $gblsHtmlMode to 1 actually its value is 0.. as you can see<br>
from the following snippet...<br>
<br>
if (strlen($HTTP_FORM_VARS["PREVIOUS_MODE"])==0)<br>
$gbIsHtmlMode = 1; // Start with Java On by default<br>
else<br>
$gbIsHtmlMode = intval($HTTP_FORM_VARS["PREVIOUS_MODE"]);<br>
<br>
wow its great...... i was surprised this time , the map rendered .... but<br>
unfortunately all my happiness was just for a few minutes... when i was try<br>
to zoom the map.... i failed it doesnt work... again i checked my httpd<br>
error log file ... i got the following error...<br>
<br>
[Thu Feb 12 14:16:10 2009] [error] [client 127.0.0.1] PHP Notice: Undefined<br>
variable: HTTP_POST_VARS in /var/www/html/gmap-ms46/htdocs/gmap75.inc.php on<br>
line 40<br>
[Thu Feb 12 14:16:10 2009] [error] [client 127.0.0.1] PHP Notice: Undefined<br>
variable: HTTP_GET_VARS in /var/www/html/gmap-ms46/htdocs/gmap75.inc.php on<br>
line 42<br>
[Thu Feb 12 14:16:10 2009] [error] [client 127.0.0.1] PHP Notice: Use of<br>
undefined constant MS_GIF - assumed 'MS_GIF' in<br>
/var/www/html/gmap-ms46/htdocs/gmap75.inc.php on line 53<br>
[Thu Feb 12 14:16:10 2009] [error] [client 127.0.0.1] PHP Notice: Use of<br>
undefined constant MS_GIF - assumed 'MS_GIF' in<br>
/var/www/html/gmap-ms46/htdocs/gmap75.inc.php on line 54<br>
[Thu Feb 12 14:16:10 2009] [error] [client 127.0.0.1] PHP Notice: Undefined<br>
index: MAP_NAME in /var/www/html/gmap-ms46/htdocs/gmap75.phtml on line 63<br>
[Thu Feb 12 14:16:10 2009] [error] [client 127.0.0.1] PHP Notice: Undefined<br>
index: minx in /var/www/html/gmap-ms46/htdocs/gmap75.inc.php on line 167<br>
[Thu Feb 12 14:16:10 2009] [error] [client 127.0.0.1] PHP Notice: Undefined<br>
index: MapSize in /var/www/html/gmap-ms46/htdocs/gmap75.inc.php on line 187<br>
[Thu Feb 12 14:16:10 2009] [error] [client 127.0.0.1] PHP Notice: Undefined<br>
index: KEYMAP_x in /var/www/html/gmap-ms46/htdocs/gmap75.inc.php on line<br>
205<br>
[Thu Feb 12 14:16:10 2009] [error] [client 127.0.0.1] PHP Notice: Undefined<br>
index: ViewRegion in /var/www/html/gmap-ms46/htdocs/gmap75.inc.php on line<br>
274...<br>
<br>
actually am getting few more errors like above but i have mentioned very<br>
little.... these errors are similar to the above first errors....<br>
<br>
i am struggling to solve this problem for the past two days...... someone<br>
please help me out.....<br>
<br>
any help/tips will be appreciated....<br>
<br>
Thanks,<br>
kapilmanoj</div>