kmanoj-pg7 kmanoj-pg7 wrote:
hello users...

I am a newbie  to mapserver. i am trying to get the gamp demo to run in my
machine fedora 9. i have installed mapserver 5.0.3-3 and php-mapserver
5.0.3-3 extension for php/mapscripting. Moreover i installed all the
libraries and packges whatever mentioned in the installation documentation
perfectly.

i have added the AddTypes in the httpd.cong. Perhaps i have made the edits
in the php.ini file. now when i call  the

http://localhost/gmap/gmap75.phtml

i stunned to see everything is projecting except the map is not rendering.
at the beginning i thought it might be a problem of the java mode is enabled
then i tried to disabled that but i failed it was also not working means the
button was not working....  Then i looked into the httpd error log file ...
i got this following error............

[Wed Feb 11 15:06:53 2009] [error] [client 127.0.0.1] PHP Notice:  Undefined
variable: HTTP_POST_VARS in /var/www/html/gmap-ms46/
htdocs/gmap75.inc.php on
line 40, referer:
[Wed Feb 11 15:06:54 2009] [error] [client 127.0.0.1] PHP Notice:  Undefined
variable: HTTP_GET_VARS in /var/www/html/gmap-ms46/htdocs/gmap75.inc.php on
line 42, referer:
[Wed Feb 11 15:06:54 2009] [error] [client 127.0.0.1] PHP Notice:  Use of
undefined constant MS_GIF - assumed 'MS_GIF' in
/var/www/html/gmap-ms46/htdocs/gmap75.inc.php on line 53, referer://
[Wed Feb 11 15:06:54 2009] [error] [client 127.0.0.1] PHP Notice:  Use of
undefined constant MS_GIF - assumed 'MS_GIF' in
/var/www/html/gmap-ms46/htdocs/gmap75.inc.php on line 54, referer:
[Wed Feb 11 15:06:57 2009] [error] [client 127.0.0.1] PHP Notice:  Undefined
index:  MAP_NAME in /var/www/html/gmap-ms46/htdocs/gmap75.phtml on line 589,
referer://
[Wed Feb 11 15:07:16 2009] [error] [client 127.0.0.1] File does not exist:
/var/www/html/gmap-ms46/htdocs/netscape



The GMap demo is very old and requires you to change your php.ini settings for error reporting to not show notices:

   error_reporting = E_ALL & ~E_NOTICE


-jeff



--
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to