[mapserver-users] Itemquery in Mapscript(PHP)

Arthur, John John.Arthur at voicestream.com
Tue Sep 4 10:01:22 EDT 2001


That was it! Thanks Laurent & Daniel. Now all I have to do is to get it to
zoom. 
By the way,... does this happen with IIS also? 

John Arthur


-----Original Message-----
From: Daniel Morissette [mailto:morissette at dmsolutions.ca]
Sent: Tuesday, September 04, 2001 9:19 AM
To: Arthur, John
Subject: Re: [mapserver-users] Itemquery in Mapscript(PHP)


"Arthur, John" wrote:
> 
> Laurent,
> 
> Thanks for your help.  I must be doing something wrong, it didn't seem to
> work for me. I'm using 3.5
> When I run the search the first time, the map is returned, but nothing is
> highlighted or zoomed.
> When I run the search the second time, an error is returned:
>         Warning: MapServer Error in msLoadMap(): ():(0) in c:\program
> files\apache group\apache\mapinfo\htdocs\drawquery.php on line 7
> 


Did you install PHP under Apache as a CGI?  On Windows PHP MapScript
won't work well with PHP installed as an Apache module.  

If you downloaded the Win32 PHP4 distribution from http://php.net/ then
see the file "install.txt" that was included in the ZIP file and make
sure you follow the CGI installation for your web server.

-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------
  Don't put for tomorrow what you can do today, because if 
      you enjoy it today you can do it again tomorrow.



More information about the mapserver-users mailing list