No subject


Thu Nov 17 10:48:58 UTC 2005


>From chris at katipo.co.nz Wed Apr 13 16:17:56 2005
Return-Path: <chris at katipo.co.nz>
Delivered-To: chris at wilbur.katipo.co.nz
Received: (qmail 29259 invoked from network); 13 Apr 2005 04:17:56 -0000
Received: from unknown (HELO shelob.katipo.co.nz) (202.50.109.222)
  by wilbur.katipo.co.nz with SMTP; 13 Apr 2005 04:17:56 -0000
Received: by shelob.katipo.co.nz (Postfix, from userid 1001)
	id 712B27BDA9; Wed, 13 Apr 2005 16:17:55 +1200 (NZST)
X-Original-To: chris at katipo.co.nz
Delivered-To: chris at katipo.co.nz
Received: from localhost (localhost [127.0.0.1])
	by shelob.katipo.co.nz (Postfix) with ESMTP id EF3837B71D;
	Wed, 13 Apr 2005 16:17:49 +1200 (NZST)
Received: from shelob.katipo.co.nz ([127.0.0.1])
	by localhost (staff.katipo.co.nz [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 29239-05; Wed, 13 Apr 2005 16:17:49 +1200 (NZST)
Received: from daddy-mx.katipo.co.nz (daddy.katipo.co.nz [202.50.109.200])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by shelob.katipo.co.nz (Postfix) with ESMTP;
	Wed, 13 Apr 2005 16:17:49 +1200 (NZST)
Received: from localhost (localhost.katipo.co.nz [127.0.0.1])
	by daddy-mx.katipo.co.nz (Postfix) with ESMTP id 28480E6DFF;
	Wed, 13 Apr 2005 16:16:11 +1200 (NZST)
Received: from daddy-mx.katipo.co.nz ([127.0.0.1])
	by localhost (daddy.katipo.co.nz [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 17918-09; Wed, 13 Apr 2005 16:16:09 +1200 (NZST)
Received: from localhost.katipo.co.nz (localhost.katipo.co.nz [127.0.0.1])
	by daddy-mx.katipo.co.nz (Postfix) with ESMTP;
	Wed, 13 Apr 2005 16:16:09 +1200 (NZST)
Received: from localhost (localhost.katipo.co.nz [127.0.0.1])
	by daddy-mx.katipo.co.nz (Postfix) with ESMTP id 2AF76E6DF3
	for <koha at lists.katipo.co.nz>; Wed, 13 Apr 2005 16:16:05 +1200 (NZST)
Received: from daddy-mx.katipo.co.nz ([127.0.0.1])
	by localhost (daddy.katipo.co.nz [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 18858-10 for <koha at lists.katipo.co.nz>;
	Wed, 13 Apr 2005 16:16:02 +1200 (NZST)
Received: from mail.spc.int (isa-nou-main.spc.int [202.0.157.2])
	by daddy-mx.katipo.co.nz (Postfix) with ESMTP
	for <koha at lists.katipo.co.nz>; Wed, 13 Apr 2005 16:16:01 +1200 (NZST)
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Date: Wed, 13 Apr 2005 15:18:06 +1100
Message-ID: <B8F67A8827141F4C8934FBF3A8FC4B8601050FA8 at wilma.noumea.spc.local>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: One last problem
Thread-Index: AcU/38rvWOXP1jMuRUCZf/1pDFqN/g==
From: "Phill Hardstaff" <phillh at spc.int>
To: <koha at lists.katipo.co.nz>
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at katipo.co.nz
Subject: [Koha] One last problem
X-BeenThere: koha at lists.katipo.co.nz
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Discussion list for the Koha Library system <koha.lists.katipo.co.nz>
List-Unsubscribe: <http://lists.katipo.co.nz/mailman/listinfo/koha>,
	<mailto:koha-request at lists.katipo.co.nz?subject=unsubscribe>
List-Archive: <http://lists.katipo.co.nz/pipermail/koha>
List-Post: <mailto:koha at lists.katipo.co.nz>
List-Help: <mailto:koha-request at lists.katipo.co.nz?subject=help>
List-Subscribe: <http://lists.katipo.co.nz/mailman/listinfo/koha>,
	<mailto:koha-request at lists.katipo.co.nz?subject=subscribe>
Sender: koha-bounces at lists.katipo.co.nz
Errors-To: koha-bounces at lists.katipo.co.nz
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at katipo.co.nz
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at katipo.co.nz
X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16)  on 
	shelob.katipo.co.nz
X-Spam-Level: 
X-Spam-Status: No, hits=-2.6 required=5.0tests=BAYES_00 autolearn=ham 
	version=3.0.2
Status: RO
Content-Length: 1786

OK, again this is Koha 2.2.1 (2.2.2 is the same) on Windows Server 2003 =
with IIS 6.0 and ActiveState PERL 5.6 ? This was the last thing I had =
not working (well that I know of anyway) I know this works under Linux =
but this little piece of code refuses to work on Windows.

Intranet Pages, NPL theme (doesn't matter actually, default will do the =
same on a member search) Click on Koha Intranet Home. Type in the name =
of a patron you know exists, click search and I get a=20

CGI Error
The specified CGI application misbehaved by not returning a complete set =
of HTTP headers.

If I use the lookup by First letter on the Patrons page it works OK and =
will list everything beginning with ? So the problem is where the search =
field (member) is longer than 1 in length.

So, I take a look at members.pl and find this

if(length($member) =3D=3D 1)
{
	($count,$results)=3DBornameSearch($env,$member,$orderby,"simple");
}
else
{
	($count,$results)=3DBornameSearch($env,$member,$orderby,"advanced");
}


I changed this to

if(length($member) =3D=3D 1)
{
	($count,$results)=3DBornameSearch($env,$member,$orderby,"simple");
}
else
{
	($count,$results)=3DBornameSearch($env,$member,$orderby,"simple");
}


And it now works, why ? I now have a perfect working NPL Intranet Koha =
on Windows with 2 mods to the code, neither of which I really understand =
:)

Cheers

Phill

--=20

Phill Hardstaff
MCSA, CCNA, A+, Network+, Inet+, Server+
Senior Support Engineer
Secretariat of the Pacific Community
B.P. D5
Noumea Cedex
98848
New Caledonia

Phone +687-260141
Mobile +687 838091
Fax +687-263818
Email phillh at spc.int
SPC Web Page http://www.spc.int/
_______________________________________________
Koha mailing list
Koha at lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha




More information about the Koha mailing list