<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Hi all,</DIV>
<DIV>For those who wish to know for future thread searches, the reason it didn't work is that I thought both parameters in the function processQueryTemplate(array params, boolean generateimages) were mandatory. It turns out that it isn't. Since I did not need any additional parameters, but thought it was mandatory, I stuck in an empty array. That caused a CGI timeout. Once I took it out, it worked fine. Here's what I ended up with:</DIV>
<DIV>&nbsp;</DIV>
<DIV>$queryHTML = $map-&gt;processQueryTemplate(MS_FALSE);</DIV>
<DIV>&nbsp;</DIV>
<DIV>Rene<BR><BR>&gt;&gt;&gt; Daniel Morissette &lt;dmorissette@dmsolutions.ca&gt; 2004-12-14 1:00:34 PM &gt;&gt;&gt;<BR></DIV>
<DIV style="COLOR: #000000">Rene Teniere wrote:<BR>&gt; Hi,<BR>&gt;&nbsp; <BR>&gt; Just trying to get info functionality working in our site using <BR>&gt; PHP/Mapscript. It seems to get stalled while processing the template. Am <BR>&gt; I doing this wrong?<BR>&gt;&nbsp; <BR><BR>Which version of MapServer are you using? There was bug 569 that was <BR>fixed in v4.2 (quite a while ago) that was causing problems if you had <BR>TEMPLATE set only at the layer level and not inside classes like you <BR>have done. If you are using a version older than 4.2.0 then you should <BR>either upgrade or try adding the TEMPLATE inside the CLASS as well.<BR><BR>Other than that, I can't see what's wrong based on the information that <BR>you provided. If you are using version 4.4 and the problem persists then <BR>you could maybe file a bug with a small testcase to reproduce.<BR><BR>Daniel<BR>-- <BR>------------------------------------------------------------<BR>&nbsp; Daniel Morissette&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dmorissette@dmsolutions.ca<BR>&nbsp; DM Solutions Group&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="http://www.dmsolutions.ca/">http://www.dmsolutions.ca/</A><BR>------------------------------------------------------------<BR></DIV></BODY></HTML>