[maplab-users] GMAP problem - Lots of undefined things in gmap75.php3

Daniel Morissette dmorissette at dmsolutions.ca
Fri Sep 10 09:30:03 EDT 2004


There is a GMap updated for MapServer 4.x at 
http://maptools.org/dl/gmap-ms40.zip

Daniel


Zak James wrote:
> John,
> 
> Those notices are mostly harmless and are occurring because gmap hasn't 
> been updated for changes in mapserver 4.x. You can suppress display of 
> the notices in your window by adding the line
> display_errors=off
> to your system's php.ini file.
> 
> You might want to look at using the ms4w package (www.maptools.org/ms4w) 
> which I believe has an updated version of gmap. If necessary, you can 
> modify an installed ms4w to use IIS instead of the included apache server.
> 
> Note that this is the maplab-users list. You may get more help on the 
> mapserver-users list.
> 
> zak
> -- 
> Zak James
> Applications and Software Development
> DM Solutions Group Inc.
> http://www.dmsolutions.ca
> 
> 
> On Sep 9, 2004, at 1:32 PM, Hennessy, John wrote:
> 
>> I've successfully installed Mapserver on an IIS server.  I've modified 
>> the
>> Itasca demo and it runs fine.  I have my apps stored in a virtual 
>> directory
>> called msapps.  I put gmap in here and tried to run it.  I get the 
>> interface
>> and the map of Canada.  The only missing functionality is the information
>> button doesn't work.  My problem is I get lots of error codes above 
>> the map.
>> I don't know how to get rid of them.  Any suggestions on fixing these
>> errors.  Some examples are:
>>
>> Notice: Use of undefined constant MS_GIF - assumed 'MS_GIF' in
>> C:\msapps\gmap\htdocs\gmap75.php3 on line 53
>> Notice: Use of undefined constant MS_GIF - assumed 'MS_GIF' in
>> C:\msapps\gmap\htdocs\gmap75.php3 on line 54
>> Notice: Undefined index: MAP_NAME in 
>> C:\msapps\gmap\htdocs\gmap75.phtml on
>> line 68
>> Notice: Use of undefined constant road - assumed 'road' in
>> C:\msapps\gmap\htdocs\gmap75.php3 on line 95
>> Notice: Undefined index: road in C:\msapps\gmap\htdocs\gmap75.php3 on 
>> line
>> 96
>> Notice: Use of undefined constant rail - assumed 'rail' in
>> C:\msapps\gmap\htdocs\gmap75.php3 on line 101
>> Notice: Undefined index: rail in C:\msapps\gmap\htdocs\gmap75.php3 on 
>> line
>> 102
>> Notice: Use of undefined constant drainage - assumed 'drainage' in
>> C:\msapps\gmap\htdocs\gmap75.php3 on line 107
>> Notice: Use of undefined constant drain_fn - assumed 'drain_fn' in
>> C:\msapps\gmap\htdocs\gmap75.php3 on line 113
>> Notice: Use of undefined constant park - assumed 'park' in
>> C:\msapps\gmap\htdocs\gmap75.php3 on line 119
>> Notice: Use of undefined constant popplace - assumed 'popplace' in
>> C:\msapps\gmap\htdocs\gmap75.php3 on line 131
>> Notice: Use of undefined constant prov_bound - assumed 'prov_bound' in
>> C:\msapps\gmap\htdocs\gmap75.php3 on line 137
>> Notice: Use of undefined constant fedlimit - assumed 'fedlimit' in
>> C:\msapps\gmap\htdocs\gmap75.php3 on line 144
>> Notice: Use of undefined constant land_fn - assumed 'land_fn' in
>> C:\msapps\gmap\htdocs\gmap75.php3 on line 150
>> Notice: Use of undefined constant grid - assumed 'grid' in
>> C:\msapps\gmap\htdocs\gmap75.php3 on line 156
>> Notice: Undefined index: grid in C:\msapps\gmap\htdocs\gmap75.php3 on 
>> line
>> 157
>> Notice: Undefined index: KEYMAP_x in C:\msapps\gmap\htdocs\gmap75.php3 on
>> line 205
>> Notice: Undefined index: redraw_x in C:\msapps\gmap\htdocs\gmap75.php3 on
>> line 308
>> Notice: Undefined index: INPUT_TYPE in 
>> C:\msapps\gmap\htdocs\gmap75.php3 on
>> line 349
>> Notice: Use of undefined constant mainmap_x - assumed 'mainmap_x' in
>> C:\msapps\gmap\htdocs\gmap75.php3 on line 425
>> Notice: Use of undefined constant mainmap_y - assumed 'mainmap_y' in
>> C:\msapps\gmap\htdocs\gmap75.php3 on line 426
>> Notice: Use of undefined constant JavaOn_x - assumed 'JavaOn_x' in
>> C:\msapps\gmap\htdocs\gmap75.phtml on line 116
>> Notice: Undefined index: JavaOn_x in 
>> C:\msapps\gmap\htdocs\gmap75.phtml on
>> line 116
>> Notice: Use of undefined constant JavaOff_x - assumed 'JavaOff_x' in
>> C:\msapps\gmap\htdocs\gmap75.phtml on line 119
>> Notice: Undefined index: JavaOff_x in 
>> C:\msapps\gmap\htdocs\gmap75.phtml on
>> line 119
>>
>> Thanks,
>>
>> John Hennessy
>> Director, GIS and Data Analysis
>> The Janus Group
>> 200 Centennial Ave, Suite 203
>> Piscataway, NJ 08854
>> (732) 980-0505 ext. 157
>> www.thejanusgroup.com
>> www.mediaprints.com
>>
>>



More information about the Maplab-users mailing list