[Koha] ( Internal Server Error)

Tonnesen Steve tonnesen at cmsd.bc.ca
Thu Apr 24 07:26:41 NZST 2003


That all looks fine then.  Next test:


This will test if just loading the Koha modules is causing an error:
==========================================
#!/usr/bin/perl
use C4::Search;

print "Content-type: text/html\n\n";

print "Test.\n";
==========================================




And, as another test try this:


Edit /usr/local/koha/intranet/cgi-bin/search.pl, changing:

my $query=new CGI;

to

my $query=new CGI('keyword=bear');

Then at the bash prompt, type:

export PERL5LIB=/usr/local/koha/intranet/modules
perl /usr/local/koha/intranet/cgi-bin/search.pl >test.out 2>test.err

Then send the contents of test.out and test.err again.  This time, the
script will actually perform a search where keyword is bear (change it to
something more relevant for your data).

Don't forget to remove the 'keyword=...' part afterwards or all of your
searches will come out the same when you get it working.  :)

Steve.







On Wed, 23 Apr 2003, Mohamed Amin wrote:

> Ok Steve
> the output is here
> 
> INCLUDE: /usr/local/koha/intranet/modules
> INCLUDE: /usr/lib/perl5/5.8.0/i386-linux-thread-multi
> INCLUDE: /usr/lib/perl5/5.8.0
> INCLUDE: /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
> INCLUDE: /usr/lib/perl5/site_perl/5.8.0
> INCLUDE: /usr/lib/perl5/site_perl
> INCLUDE: /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> INCLUDE: /usr/lib/perl5/vendor_perl/5.8.0
> INCLUDE: /usr/lib/perl5/vendor_perl
> INCLUDE: .
> Script Size: 78754
> 
> Mohamed Amin
> 
> _________________________________________________________________
> MSN 8 with e-mail virus protection service: 2 months FREE* 
> http://join.msn.com/?page=features/virus
> 
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
> 
> 




More information about the Koha mailing list