PHP/MapScript processQueryTemplate Help

Rene Teniere TENIERER at GOV.NS.CA
Wed Dec 15 05:31:09 PST 2004


Daniel,

I tried what you suggested and I get a server timeout. It shouldn't
take that long to process should it? Only one shape is selected.

>>> Daniel Morissette <dmorissette at dmsolutions.ca> 2004-12-14 1:00:34
PM >>>

Rene Teniere wrote:
> Hi,
>
> Just trying to get info functionality working in our site using
> PHP/Mapscript. It seems to get stalled while processing the template.
Am
> I doing this wrong?
>

Which version of MapServer are you using? There was bug 569 that was
fixed in v4.2 (quite a while ago) that was causing problems if you had

TEMPLATE set only at the layer level and not inside classes like you
have done. If you are using a version older than 4.2.0 then you should

either upgrade or try adding the TEMPLATE inside the CLASS as well.

Other than that, I can't see what's wrong based on the information that

you provided. If you are using version 4.4 and the problem persists
then
you could maybe file a bug with a small testcase to reproduce.

Daniel
--
------------------------------------------------------------
  Daniel Morissette               dmorissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20041215/b0ecfa89/attachment.htm>


More information about the MapServer-users mailing list