php mapscript isn't processing query templates correctly

Chris Garrard chrisg at BIOLOGY.USU.EDU
Wed Aug 31 12:06:55 PDT 2005


Hi,

We are in the process of upgrading everything on our server, and so I
just upgraded to MapServer 4.6.1 and am trying to get my old PHP
MapScript code to run correctly.  Unfortunately, the
processquerytemplate method doesn't seem to be working right.  It works
fine if there is no substitution in the template, but as soon as I try
to use any sort of substitution (any of the special substitution strings
documented or an item in the attribute table) then PHP dies.  Nothing
shows up in the PHP error log, although I do get an "exit signal
Segmentation fault (11)" notice in the Apache error log.

The processlegendtemplate method seems to work fine with substitution.
And my query templates work fine if I use CGI MapServer.

I'm using MapServer 4.6.1 and PHP 4.4.0 on Solaris 10.

Thanks,
Chris



More information about the MapServer-users mailing list