[Mapserver-users] PHP4/MapScript bug

woodbri at swoodbridge.com woodbri at swoodbridge.com
Thu Feb 6 07:37:59 EST 2003


-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?

-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
> 





More information about the mapserver-users mailing list