[Mapserver-users] PHP4/MapScript bug

woodbri at swoodbridge.com woodbri at swoodbridge.com
Thu Feb 6 13:19:44 EST 2003


--strk,

Well it does sound more and more like a bug. What version Mapserver 
are you using, what OS? You might want to document your findings in 
Bugzilla.

-Steve

On 6 Feb 2003 at 15:31, strk wrote:

> woodbri wrote:
> > -strk,
> > 
> > What OS are you using?
> > Are you sure your permissions allowed the $map->save() to write the
> > file? Have you editted the file and checked if the contents seem
> > reasonable? Have tried to read the mapfile and write it unchanged to
> > a new name? Can you read the new name mapfile?
> 
> I've found that a status of embed in LEGEND and SCALEBAR
> is not correctly handled and is written on save() as STATUS QUERYONLY
> which is - in turn - not understood by the reader (silly uhu?).
> 
> It looks like at STATUS parsing time a default QUERYONLY is used when
> no other valid values are found and 'embed' might not be considered a
> valid value.
> 
> --strk;
> 
> > 
> > -Steve W.
> > 
> > On 6 Feb 2003 at 12:57, strk wrote:
> > 
> > > Hello,
> > > I'm having problem with MapScript compiled against PHP-4.3.0
> > > A map created with the save() function is not readable by
> > > ms_newMapObj()
> > > 
> > > Message from ms_newMapObj() is:
> > > 
> > >         Warning: MapServer Error in getSymbol(): (QUERYONLY):(29)
> > >         Fatal error: Failed to open map file test.map-707.map
> > > 
> > > The file 'test.map-707.map' as been created with
> > > $map->save('test.map-707.map') as the result of manipulation
> > > of original map 'test.map'.
> > > 
> > > The original map (test.map) is read correctly, no errors given, no
> > > QUERYONLY keyword present.
> > > 
> > > MapScript come from release 3.6.3 of MapServer.
> > > 
> > > Any hint ?
> > > 
> > > TIA,
> > > --strk;
> > > _______________________________________________
> > > Mapserver-users mailing list
> > > Mapserver-users at lists.gis.umn.edu
> > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> > > 
> > 
> > 
> > _______________________________________________
> > Mapserver-users mailing list
> > Mapserver-users at lists.gis.umn.edu
> > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 





More information about the mapserver-users mailing list