Paul Radford wrote:
> 
> I have tried to incorporate UdmSearch into Midargd
> which I have done with limited success
> The script works outside of Midgard but I would like to use it within
> Midgard

I don't know exactly what script you are referring to.

> Search doesn't work if nothing is entered.
> http://v6.warrnambool.com/find/results/?ps=5&o=0&m=and&q=
> 
> Parse error: parse error in /etc/httpd/modules/midgard-root.php3 on line 20
> (die is called? could this be a problem)

Yep, this could be a problem. If you're absorbing the script with an
include
statement, do the following:

replace

  include("scriptname");

with

do { include("scriptname"); } while (0);

and replace all 'exit' and 'die' calls with 'break' calls.

Emile

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to